summaryrefslogtreecommitdiff
path: root/cmd/podman/system_prune.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-12-02 18:33:58 -0800
committerGitHub <noreply@github.com>2019-12-02 18:33:58 -0800
commitc9696c451df1efe181c103f9f227787af14dd7b1 (patch)
treecf4955835474fd555f83ab9d4c40ddd39c0ab6d0 /cmd/podman/system_prune.go
parent711728672f93d20d4aaf084e49db5e282fece952 (diff)
parentbca01ed46121aebd7b770cd98130f1b14834fc91 (diff)
downloadpodman-c9696c451df1efe181c103f9f227787af14dd7b1.tar.gz
podman-c9696c451df1efe181c103f9f227787af14dd7b1.tar.bz2
podman-c9696c451df1efe181c103f9f227787af14dd7b1.zip
Merge pull request #4596 from kunalkushwaha/container-prune
container prune command fixed as per docker prune command
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 ae5d7ed2d..74fdcde99 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)
+ ok, failures, err = runtime.Prune(ctx, rmWorkers, false, []string{})
if err != nil {
if lasterr != nil {
logrus.Errorf("%q", err)