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:
parent
1845cd0d86
commit
e4186ba708
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) {
|
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 {
|
if err := removePath(realPath); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue