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

Rewrote data-root escape error message
This commit is contained in:
Brian Goff 2018-05-18 14:56:48 -04:00 committed by GitHub
commit 7195df3206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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