mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
fix: unmount container without force
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
@ -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)
|
||||
}
|
||||
}()
|
||||
|
Reference in New Issue
Block a user