aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/images
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-05-20 21:05:32 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-05-21 09:28:42 -0400
commit9add1abd12bbadef3dac778a72072fae3cb9c08b (patch)
tree05568d1e084696166849d7a007d4a5379910880b /cmd/podman/images
parenta4c8198afd2b92b40b95c6fe01756cf2d0076cb6 (diff)
downloadpodman-9add1abd12bbadef3dac778a72072fae3cb9c08b.tar.gz
podman-9add1abd12bbadef3dac778a72072fae3cb9c08b.tar.bz2
podman-9add1abd12bbadef3dac778a72072fae3cb9c08b.zip
Handle filters correctly for podman prune
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r--cmd/podman/images/prune.go6
1 files changed, 0 insertions, 6 deletions
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