소스 검색

Amended per cleanup request.

Signed-off-by: Jonathan Choy <oni@tetsujinlabs.com>
Jonathan Choy 7 년 전
부모
커밋
e4186ba708
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {
 	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 {