Amended per cleanup request.

Signed-off-by: Jonathan Choy <oni@tetsujinlabs.com>
Upstream-commit: e4186ba7087b61e1d770fa087cd46729bbfda32e
Component: engine
This commit is contained in:
Jonathan Choy
2018-05-18 11:09:35 -04:00
parent 17f09f5a4d
commit a57d540856
+1 -1
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 {