Rewrote data-root escape error message
Signed-off-by: Jonathan Choy <jonathan.j.choy@gmail.com> Upstream-commit: 1845cd0d86f0c85115bbf7cdc806c114096751a9 Component: engine
This commit is contained in:
@@ -211,7 +211,7 @@ func (r *Root) Remove(v volume.Volume) error {
|
||||
}
|
||||
|
||||
if !r.scopedPath(realPath) {
|
||||
return errdefs.System(errors.Errorf("Unable to remove a directory of out the Docker root %s: %s", r.scope, realPath))
|
||||
return errdefs.System(errors.Errorf("Unable to remove a directory outside of the Docker root %s: %s", r.scope, realPath))
|
||||
}
|
||||
|
||||
if err := removePath(realPath); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user