summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2020-11-19 19:27:00 +0100
committerMatej Vasek <mvasek@redhat.com>2020-11-19 20:31:47 +0100
commit4d0346c028589737591615a308f69736a9fa0534 (patch)
tree6f83da0de85f2bca531de8e76cc9d64dbb03b57b /pkg/api
parent0dcdb3cc9bfbec56ad545031f3a3472823cd6e8b (diff)
downloadpodman-4d0346c028589737591615a308f69736a9fa0534.tar.gz
podman-4d0346c028589737591615a308f69736a9fa0534.tar.bz2
podman-4d0346c028589737591615a308f69736a9fa0534.zip
not forcing unmount
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/handlers/compat/containers_archive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/containers_archive.go b/pkg/api/handlers/compat/containers_archive.go
index 10f755a59..1dd563393 100644
--- a/pkg/api/handlers/compat/containers_archive.go
+++ b/pkg/api/handlers/compat/containers_archive.go
@@ -173,7 +173,7 @@ func handlePut(w http.ResponseWriter, r *http.Request, decoder *schema.Decoder,
}
defer func() {
- if err := ctr.Unmount(true); err != nil {
+ if err := ctr.Unmount(false); err != nil {
logrus.Warnf("failed to unmount container %s", ctrName)
}
}()