Merge pull request #4894 from paultyng/pt/error-message
Add "lowercase" to error message
This commit is contained in:
commit
51f6a15803
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue