Fix minor typo
Signed-off-by: Josh Eveleth <joshe@opendns.com> Upstream-commit: eee0cfa45dd75223dec204428dc85dccb2b5abe9 Component: engine
This commit is contained in:
committed by
Josh Eveleth
parent
c2ca52e58a
commit
c2674c6655
@@ -269,7 +269,7 @@ func (r *Root) validateName(name string) error {
|
||||
return validationError{fmt.Errorf("volume name is too short, names should be at least two alphanumeric characters")}
|
||||
}
|
||||
if !volumeNameRegex.MatchString(name) {
|
||||
return validationError{fmt.Errorf("%q includes invalid characters for a local volume name, only %q are allowed. If you intented to pass a host directory, use absolute path", name, api.RestrictedNameChars)}
|
||||
return validationError{fmt.Errorf("%q includes invalid characters for a local volume name, only %q are allowed. If you intended to pass a host directory, use absolute path", name, api.RestrictedNameChars)}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user