Merge pull request #4894 from paultyng/pt/error-message

Add "lowercase" to error message
This commit is contained in:
Radek Simko 2016-01-29 10:39:43 +00:00
commit 51f6a15803
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ func validateSubnetGroupName(v interface{}, k string) (ws []string, errors []err
value := v.(string)
if !regexp.MustCompile(`^[ .0-9a-z-_]+$`).MatchString(value) {
errors = append(errors, fmt.Errorf(
"only alphanumeric characters, hyphens, underscores, periods, and spaces allowed in %q", k))
"only lowercase alphanumeric characters, hyphens, underscores, periods, and spaces allowed in %q", k))
}
if len(value) > 255 {
errors = append(errors, fmt.Errorf(