summaryrefslogtreecommitdiff
path: root/cmd/podman/system_prune.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-01-12 10:54:14 -0600
committerbaude <bbaude@redhat.com>2020-01-13 08:56:43 -0600
commit649331cb18427321d4640783e0ce4b61b83e567e (patch)
tree1a634a5c34e93f14d0567e2f4c5608d691ce102d /cmd/podman/system_prune.go
parent2d5fd7cc3718d27b35352e80c0c3296c5bb69c2f (diff)
downloadpodman-649331cb18427321d4640783e0ce4b61b83e567e.tar.gz
podman-649331cb18427321d4640783e0ce4b61b83e567e.tar.bz2
podman-649331cb18427321d4640783e0ce4b61b83e567e.zip
clarify container prune --force
the --force parameter should only be used for the CLI and should only dictate whether to prompt the user for confirmation. Fixes: #4844 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/system_prune.go')
-rw-r--r--cmd/podman/system_prune.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/system_prune.go b/cmd/podman/system_prune.go
index 74fdcde99..28f22d33f 100644
--- a/cmd/podman/system_prune.go
+++ b/cmd/podman/system_prune.go
@@ -92,7 +92,7 @@ Are you sure you want to continue? [y/N] `, volumeString)
rmWorkers := shared.Parallelize("rm")
fmt.Println("Deleted Containers")
- ok, failures, err = runtime.Prune(ctx, rmWorkers, false, []string{})
+ ok, failures, err = runtime.Prune(ctx, rmWorkers, []string{})
if err != nil {
if lasterr != nil {
logrus.Errorf("%q", err)