fix: unmount container without force

Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
Matej Vasek
2020-11-19 00:40:11 +01:00
parent 7da4083549
commit 6ad2f1d248

View File

@ -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)
}
}()