Bläddra i källkod

Merge pull request #37101 from TetsujinOni/local-escape-typo

Rewrote data-root escape error message
Brian Goff 7 år sedan
förälder
incheckning
7195df3206
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 local volume root %s: %s", r.scope, realPath))
 	}
 
 	if err := removePath(realPath); err != nil {