diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-01 21:08:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 21:08:50 +0200 |
commit | bffd3f5134b6c64dc53b7713bd064a9edd3ee466 (patch) | |
tree | e50040bd5304f82542c5d8e51cfff98ac8ffbdb9 /pkg/domain/infra/abi/volumes.go | |
parent | 95b9b72c0c0c6904ca35c97c76ee728b1750bf84 (diff) | |
parent | b94862171b29dbef4cd780e4b1746d97f62f7a94 (diff) | |
download | podman-bffd3f5134b6c64dc53b7713bd064a9edd3ee466.tar.gz podman-bffd3f5134b6c64dc53b7713bd064a9edd3ee466.tar.bz2 podman-bffd3f5134b6c64dc53b7713bd064a9edd3ee466.zip |
Merge pull request #6060 from sujil02/systemprune-v2
And system prune feature for v2.
Diffstat (limited to 'pkg/domain/infra/abi/volumes.go')
-rw-r--r-- | pkg/domain/infra/abi/volumes.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/domain/infra/abi/volumes.go b/pkg/domain/infra/abi/volumes.go index bdae4359d..91b2440df 100644 --- a/pkg/domain/infra/abi/volumes.go +++ b/pkg/domain/infra/abi/volumes.go @@ -1,5 +1,3 @@ -// +build ABISupport - package abi import ( @@ -113,6 +111,10 @@ func (ic *ContainerEngine) VolumeInspect(ctx context.Context, namesOrIds []strin } func (ic *ContainerEngine) VolumePrune(ctx context.Context, opts entities.VolumePruneOptions) ([]*entities.VolumePruneReport, error) { + return ic.pruneVolumesHelper(ctx) +} + +func (ic *ContainerEngine) pruneVolumesHelper(ctx context.Context) ([]*entities.VolumePruneReport, error) { var ( reports []*entities.VolumePruneReport ) |