1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Amended per cleanup request.

Signed-off-by: Jonathan Choy <oni@tetsujinlabs.com>
This commit is contained in:
Jonathan Choy 2018-05-18 11:09:35 -04:00
parent 1845cd0d86
commit e4186ba708

View file

@ -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 outside of the Docker root %s: %s", r.scope, realPath))
return errdefs.System(errors.Errorf("Unable to remove a directory outside of the local volume root %s: %s", r.scope, realPath))
}
if err := removePath(realPath); err != nil {