Fix typo in validators.go (#14900)

s/conatains/contains
This commit is contained in:
Nick Johnstone 2017-05-29 17:07:44 +12:00 committed by Radek Simko
parent 9ec28d26a8
commit ab7cbb1cf9
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ func validateIAMPolicyJson(v interface{}, k string) (ws []string, errors []error
return
}
if value[:1] != "{" {
errors = append(errors, fmt.Errorf("%q conatains an invalid JSON policy", k))
errors = append(errors, fmt.Errorf("%q contains an invalid JSON policy", k))
return
}
if _, err := normalizeJsonString(v); err != nil {