Merge pull request #2672 from alexsacr/master

provider/aws: fix missing format arg
This commit is contained in:
Paul Hinze 2015-07-09 23:29:16 -06:00
commit 4be8ba6986

View File

@ -90,7 +90,7 @@ func resourceAwsDbInstance() *schema.Resource {
} }
if regexp.MustCompile(`-$`).MatchString(value) { if regexp.MustCompile(`-$`).MatchString(value) {
errors = append(errors, fmt.Errorf( errors = append(errors, fmt.Errorf(
"%q cannot end with a hyphen")) "%q cannot end with a hyphen", k))
} }
return return
}, },