diff options
author | Matej Vasek <mvasek@redhat.com> | 2020-11-19 00:40:11 +0100 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2020-11-19 20:31:47 +0100 |
commit | 6ad2f1d2482ff156257c74a2b4bcd75d5b12d95d (patch) | |
tree | 5c6d5538e1d49ed8ab790806e5ba5c6daa738de9 | |
parent | 7da4083549eb73d2b45b04db08a38db478ab2c11 (diff) | |
download | podman-6ad2f1d2482ff156257c74a2b4bcd75d5b12d95d.tar.gz podman-6ad2f1d2482ff156257c74a2b4bcd75d5b12d95d.tar.bz2 podman-6ad2f1d2482ff156257c74a2b4bcd75d5b12d95d.zip |
fix: unmount container without force
Signed-off-by: Matej Vasek <mvasek@redhat.com>
-rw-r--r-- | pkg/api/handlers/compat/containers_archive.go | 2 |
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 1d57cb59a..337b1787c 100644 --- a/pkg/api/handlers/compat/containers_archive.go +++ b/pkg/api/handlers/compat/containers_archive.go @@ -73,7 +73,7 @@ func handleHeadOrGet(w http.ResponseWriter, r *http.Request, decoder *schema.Dec } defer func() { - if err := ctr.Unmount(true); err != nil { + if err := ctr.Unmount(false); err != nil { logrus.Warnf("failed to unmount container %s: %q", containerName, err) } }() |