Merge pull request #3807 from pwaller/fix-unclear-error
Fix unclear error message when deleting container Upstream-commit: 13ee6d8eee49e0f2ed285c5a4c54fb294711bc96 Component: engine
This commit is contained in:
@ -1909,7 +1909,7 @@ func (srv *Server) ContainerDestroy(job *engine.Job) engine.Status {
|
||||
continue
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user