From c2674c6655b68dc40fe59a547079b3e0a1caadee Mon Sep 17 00:00:00 2001 From: Josh Eveleth Date: Thu, 5 Jan 2017 12:38:49 -0800 Subject: [PATCH] Fix minor typo Signed-off-by: Josh Eveleth Upstream-commit: eee0cfa45dd75223dec204428dc85dccb2b5abe9 Component: engine --- components/engine/volume/local/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/volume/local/local.go b/components/engine/volume/local/local.go index e32c5c124d..d29559d487 100644 --- a/components/engine/volume/local/local.go +++ b/components/engine/volume/local/local.go @@ -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 }