ソースを参照

Rewrote data-root escape error message

Signed-off-by: Jonathan Choy <jonathan.j.choy@gmail.com>
Jonathan Choy 7 年 前
コミット
1845cd0d86
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) {
-		return errdefs.System(errors.Errorf("Unable to remove a directory of out the Docker root %s: %s", r.scope, realPath))
+		return errdefs.System(errors.Errorf("Unable to remove a directory outside of the Docker root %s: %s", r.scope, realPath))
 	}
 
 	if err := removePath(realPath); err != nil {