Explorar o código

Amended per cleanup request.

Signed-off-by: Jonathan Choy <oni@tetsujinlabs.com>
Jonathan Choy %!s(int64=7) %!d(string=hai) anos
pai
achega
e4186ba708
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      volume/local/local.go

+ 1 - 1
volume/local/local.go

@@ -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 {