From 9add1abd12bbadef3dac778a72072fae3cb9c08b Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 20 May 2020 21:05:32 -0400 Subject: Handle filters correctly for podman prune Signed-off-by: Daniel J Walsh --- cmd/podman/images/prune.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cmd/podman/images') diff --git a/cmd/podman/images/prune.go b/cmd/podman/images/prune.go index 7c9e3eb61..676382a99 100644 --- a/cmd/podman/images/prune.go +++ b/cmd/podman/images/prune.go @@ -61,12 +61,6 @@ Are you sure you want to continue? [y/N] `) } } - // TODO Remove once filter refactor is finished and url.Values rules :) - for _, f := range filter { - t := strings.SplitN(f, "=", 2) - pruneOpts.Filters.Add(t[0], t[1]) - } - results, err := registry.ImageEngine().Prune(registry.GetContext(), pruneOpts) if err != nil { return err -- cgit v1.2.3-54-g00ecf