diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-26 20:43:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 20:43:28 +0100 |
commit | 27a09f8fab740749964d28b5ead1a43c6d77a7c8 (patch) | |
tree | 347d5a8156f612a52843264bc1e264136794549d /pkg/varlinkapi | |
parent | b29928f01598810328fa6b0cf91abb84670d8d01 (diff) | |
parent | d9400cced2afad61eafa18da661891a96db1eafc (diff) | |
download | podman-27a09f8fab740749964d28b5ead1a43c6d77a7c8.tar.gz podman-27a09f8fab740749964d28b5ead1a43c6d77a7c8.tar.bz2 podman-27a09f8fab740749964d28b5ead1a43c6d77a7c8.zip |
Merge pull request #4443 from QiWang19/prune_pod
Remove containers when pod prune & pod rm.
Diffstat (limited to 'pkg/varlinkapi')
-rw-r--r-- | pkg/varlinkapi/pods.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/pods.go b/pkg/varlinkapi/pods.go index 9b659f66b..1ebe5d424 100644 --- a/pkg/varlinkapi/pods.go +++ b/pkg/varlinkapi/pods.go @@ -247,7 +247,7 @@ func (i *LibpodAPI) RemovePod(call iopodman.VarlinkCall, name string, force bool if err != nil { return call.ReplyPodNotFound(name, err.Error()) } - if err = i.Runtime.RemovePod(ctx, pod, force, force); err != nil { + if err = i.Runtime.RemovePod(ctx, pod, true, force); err != nil { return call.ReplyErrorOccurred(err.Error()) } |