diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-17 12:47:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 12:47:18 +0100 |
commit | 26cf6c82c82cbf45afe5998e4a881b9f52202a01 (patch) | |
tree | 170843a2f0b612944ba592b60e5a76257afb1743 /cmd/podman/images/prune.go | |
parent | ea2656dc8658f99a0e9be2342557763e974513b9 (diff) | |
parent | 6bca61e0f137a38543f7ce23abcd90e058d9defd (diff) | |
download | podman-26cf6c82c82cbf45afe5998e4a881b9f52202a01.tar.gz podman-26cf6c82c82cbf45afe5998e4a881b9f52202a01.tar.bz2 podman-26cf6c82c82cbf45afe5998e4a881b9f52202a01.zip |
Merge pull request #12882 from jmguzik/unify-filters-cmd
Unify the method of parsing filters in cmd
Diffstat (limited to 'cmd/podman/images/prune.go')
-rw-r--r-- | cmd/podman/images/prune.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/images/prune.go b/cmd/podman/images/prune.go index fc7451c41..e4c320a55 100644 --- a/cmd/podman/images/prune.go +++ b/cmd/podman/images/prune.go @@ -8,11 +8,11 @@ import ( "github.com/containers/common/pkg/completion" "github.com/containers/podman/v3/cmd/podman/common" + "github.com/containers/podman/v3/cmd/podman/parse" "github.com/containers/podman/v3/cmd/podman/registry" "github.com/containers/podman/v3/cmd/podman/utils" "github.com/containers/podman/v3/cmd/podman/validate" "github.com/containers/podman/v3/pkg/domain/entities" - "github.com/containers/podman/v3/pkg/specgenutil" "github.com/spf13/cobra" ) @@ -66,7 +66,7 @@ func prune(cmd *cobra.Command, args []string) error { return nil } } - filterMap, err := specgenutil.ParseFilters(filter) + filterMap, err := parse.FilterArgumentsIntoFilters(filter) if err != nil { return err } |