diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-01 06:31:36 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-01 06:32:57 -0400 |
commit | 686ea56480ad80e432a08933fa5f37d48f2ed827 (patch) | |
tree | ef7ee5d0d4caa33c80eaa91c90be7d8353cfd5ae /pkg/domain/infra/tunnel | |
parent | 556117c2e95bb0e4da7d36e10d94c3ec0ac4072f (diff) | |
download | podman-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/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/volumes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/volumes.go b/pkg/domain/infra/tunnel/volumes.go index ee2786330..e432d3292 100644 --- a/pkg/domain/infra/tunnel/volumes.go +++ b/pkg/domain/infra/tunnel/volumes.go @@ -56,7 +56,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 volumes.Prune(ic.ClientCxt) } |