diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-22 11:02:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 11:02:19 -0500 |
commit | 07663f74c48d11732a3330248f837d5abf86fe9c (patch) | |
tree | 2446603ff11ddb7517fefee7c11fb5cf287fbbb7 /pkg/domain/infra/tunnel | |
parent | cfdb8fb29b34010206ea26f38e130d3e24403abf (diff) | |
parent | 5923656f321a9ca7b222c81cdb5f3387cc7cd3ad (diff) | |
download | podman-07663f74c48d11732a3330248f837d5abf86fe9c.tar.gz podman-07663f74c48d11732a3330248f837d5abf86fe9c.tar.bz2 podman-07663f74c48d11732a3330248f837d5abf86fe9c.zip |
Merge pull request #8724 from bblenard/support-volume-filters-in-system-prune
Add volume filters to system prune
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/system.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/system.go b/pkg/domain/infra/tunnel/system.go index 1e4b2e0b4..9013d44c2 100644 --- a/pkg/domain/infra/tunnel/system.go +++ b/pkg/domain/infra/tunnel/system.go @@ -20,7 +20,7 @@ func (ic *ContainerEngine) SetupRootless(_ context.Context, cmd *cobra.Command) // SystemPrune prunes unused data from the system. func (ic *ContainerEngine) SystemPrune(ctx context.Context, opts entities.SystemPruneOptions) (*entities.SystemPruneReport, error) { - options := new(system.PruneOptions).WithAll(opts.All).WithVolumes(opts.Volume).WithFilters(opts.ContainerPruneOptions.Filters) + options := new(system.PruneOptions).WithAll(opts.All).WithVolumes(opts.Volume).WithFilters(opts.Filters) return system.Prune(ic.ClientCxt, options) } |