summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-30 20:51:00 +0200
committerGitHub <noreply@github.com>2021-03-30 20:51:00 +0200
commit989c8e97851c1a443270e803e19dd069fc199302 (patch)
tree6b676800286705c8fd486a5163d5ea330e6e3a96 /pkg/api/handlers
parent1d14e6ed3c49777bc2b35e7c49d9232b2810935e (diff)
parentf7d82a1f30d31830de18da14c61e85d2a0688605 (diff)
downloadpodman-989c8e97851c1a443270e803e19dd069fc199302.tar.gz
podman-989c8e97851c1a443270e803e19dd069fc199302.tar.bz2
podman-989c8e97851c1a443270e803e19dd069fc199302.zip
Merge pull request #9863 from jmguzik/fix-prune-filter-funcs
Containers prune endpoint should use only prune filters
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/compat/containers_prune.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/containers_prune.go b/pkg/api/handlers/compat/containers_prune.go
index e37929d27..61ea7a89e 100644
--- a/pkg/api/handlers/compat/containers_prune.go
+++ b/pkg/api/handlers/compat/containers_prune.go
@@ -23,7 +23,7 @@ func PruneContainers(w http.ResponseWriter, r *http.Request) {
filterFuncs := make([]libpod.ContainerFilter, 0, len(*filtersMap))
for k, v := range *filtersMap {
- generatedFunc, err := filters.GenerateContainerFilterFuncs(k, v, runtime)
+ generatedFunc, err := filters.GeneratePruneContainerFilterFuncs(k, v, runtime)
if err != nil {
utils.InternalServerError(w, err)
return