summaryrefslogtreecommitdiff
path: root/libpod/runtime_volume_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-12 19:12:24 +0200
committerGitHub <noreply@github.com>2019-05-12 19:12:24 +0200
commitd2571c7fd49d22e822a6f3b3796488218c9f9e46 (patch)
tree97480044298e621107090f1c5f11f4df9d433d76 /libpod/runtime_volume_linux.go
parent9ae32214f466e2150b7bc383585f60694b53c4b3 (diff)
parentc9c00ecd532fea4722b020f318daa1e34bc46fd0 (diff)
downloadpodman-d2571c7fd49d22e822a6f3b3796488218c9f9e46.tar.gz
podman-d2571c7fd49d22e822a6f3b3796488218c9f9e46.tar.bz2
podman-d2571c7fd49d22e822a6f3b3796488218c9f9e46.zip
Merge pull request #3105 from mheon/use_ctr_remove_funcs
Use standard remove functions for removing pod ctrs
Diffstat (limited to 'libpod/runtime_volume_linux.go')
-rw-r--r--libpod/runtime_volume_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_volume_linux.go b/libpod/runtime_volume_linux.go
index 40040fc52..a326ed0e0 100644
--- a/libpod/runtime_volume_linux.go
+++ b/libpod/runtime_volume_linux.go
@@ -116,7 +116,7 @@ func (r *Runtime) removeVolume(ctx context.Context, v *Volume, force bool) error
// containers?
// I'm inclined to say no, in case someone accidentally
// wipes a container they're using...
- if err := r.removeContainer(ctx, ctr, false, false); err != nil {
+ if err := r.removeContainer(ctx, ctr, false, false, false); err != nil {
return errors.Wrapf(err, "error removing container %s that depends on volume %s", ctr.ID(), v.Name())
}
}