diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-30 20:51:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 20:51:00 +0200 |
commit | 989c8e97851c1a443270e803e19dd069fc199302 (patch) | |
tree | 6b676800286705c8fd486a5163d5ea330e6e3a96 /pkg/domain/infra/abi | |
parent | 1d14e6ed3c49777bc2b35e7c49d9232b2810935e (diff) | |
parent | f7d82a1f30d31830de18da14c61e85d2a0688605 (diff) | |
download | podman-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/domain/infra/abi')
-rw-r--r-- | pkg/domain/infra/abi/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go index 637531ee9..24261e5ed 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -194,7 +194,7 @@ func (ic *ContainerEngine) ContainerStop(ctx context.Context, namesOrIds []strin func (ic *ContainerEngine) ContainerPrune(ctx context.Context, options entities.ContainerPruneOptions) ([]*reports.PruneReport, error) { filterFuncs := make([]libpod.ContainerFilter, 0, len(options.Filters)) for k, v := range options.Filters { - generatedFunc, err := dfilters.GenerateContainerFilterFuncs(k, v, ic.Libpod) + generatedFunc, err := dfilters.GeneratePruneContainerFilterFuncs(k, v, ic.Libpod) if err != nil { return nil, err } |