diff options
author | Baron Lenardson <lenardson.baron@gmail.com> | 2020-12-22 20:29:31 -0600 |
---|---|---|
committer | Baron Lenardson <baron.lenardson@target.com> | 2020-12-24 20:27:41 +0000 |
commit | 76afb50f3ae41a3cc43fca8cc41a2d2f1f1b6dcc (patch) | |
tree | 0adcdac5dc8a124db32a90a386d708fc01922bf7 /cmd/podman/system/prune.go | |
parent | 8f75ed958562f4deb47799259e22d4f195e0d426 (diff) | |
download | podman-76afb50f3ae41a3cc43fca8cc41a2d2f1f1b6dcc.tar.gz podman-76afb50f3ae41a3cc43fca8cc41a2d2f1f1b6dcc.tar.bz2 podman-76afb50f3ae41a3cc43fca8cc41a2d2f1f1b6dcc.zip |
Consolidate filter logic to pkg subdirectory
Per the conversation on pull/8724 I am consolidating filter logic
and helper functions under the pkg/domain/filters dir.
Signed-off-by: Baron Lenardson <lenardson.baron@gmail.com>
Diffstat (limited to 'cmd/podman/system/prune.go')
-rw-r--r-- | cmd/podman/system/prune.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/system/prune.go b/cmd/podman/system/prune.go index a74363684..93b4a1157 100644 --- a/cmd/podman/system/prune.go +++ b/cmd/podman/system/prune.go @@ -11,8 +11,8 @@ import ( "github.com/containers/podman/v2/cmd/podman/registry" "github.com/containers/podman/v2/cmd/podman/utils" "github.com/containers/podman/v2/cmd/podman/validate" - lpfilters "github.com/containers/podman/v2/libpod/filters" "github.com/containers/podman/v2/pkg/domain/entities" + dfilters "github.com/containers/podman/v2/pkg/domain/filters" "github.com/spf13/cobra" ) @@ -80,7 +80,7 @@ Are you sure you want to continue? [y/N] `, volumeString) } } - pruneOptions.Filters, err = lpfilters.ParseFilterArgumentsIntoFilters(filters) + pruneOptions.Filters, err = dfilters.ParseFilterArgumentsIntoFilters(filters) if err != nil { return err } |