mirror of https://github.com/docker/docs.git
Merge pull request #3807 from pwaller/fix-unclear-error
Fix unclear error message when deleting container
This commit is contained in:
commit
13ee6d8eee
|
|
@ -1909,7 +1909,7 @@ func (srv *Server) ContainerDestroy(job *engine.Job) engine.Status {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if err := srv.runtime.volumes.Delete(volumeId); err != nil {
|
if err := srv.runtime.volumes.Delete(volumeId); err != nil {
|
||||||
job.Error(err)
|
job.Errorf("Error calling volumes.Delete(%q): %v", volumeId, err)
|
||||||
return engine.StatusErr
|
return engine.StatusErr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue