mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Rewrote data-root escape error message
Signed-off-by: Jonathan Choy <jonathan.j.choy@gmail.com>
This commit is contained in:
parent
b7b6b6929c
commit
1845cd0d86
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue