summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/volumes.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-10-01 06:31:36 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-10-01 06:32:57 -0400
commit686ea56480ad80e432a08933fa5f37d48f2ed827 (patch)
treeef7ee5d0d4caa33c80eaa91c90be7d8353cfd5ae /pkg/domain/infra/abi/volumes.go
parent556117c2e95bb0e4da7d36e10d94c3ec0ac4072f (diff)
downloadpodman-686ea56480ad80e432a08933fa5f37d48f2ed827.tar.gz
podman-686ea56480ad80e432a08933fa5f37d48f2ed827.tar.bz2
podman-686ea56480ad80e432a08933fa5f37d48f2ed827.zip
Volume prune should not pass down the force flag
podman volume prune -f Should just tell the prune command to not prompt for confirmation. It should not be passing the prune flag into the API. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/volumes.go')
-rw-r--r--pkg/domain/infra/abi/volumes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/volumes.go b/pkg/domain/infra/abi/volumes.go
index 340f00953..946f258af 100644
--- a/pkg/domain/infra/abi/volumes.go
+++ b/pkg/domain/infra/abi/volumes.go
@@ -120,7 +120,7 @@ func (ic *ContainerEngine) VolumeInspect(ctx context.Context, namesOrIds []strin
return reports, nil
}
-func (ic *ContainerEngine) VolumePrune(ctx context.Context, opts entities.VolumePruneOptions) ([]*entities.VolumePruneReport, error) {
+func (ic *ContainerEngine) VolumePrune(ctx context.Context) ([]*entities.VolumePruneReport, error) {
return ic.pruneVolumesHelper(ctx)
}