From ab7cbb1cf9b78efe33d97a36b13b78d097f74f9b Mon Sep 17 00:00:00 2001 From: Nick Johnstone Date: Mon, 29 May 2017 17:07:44 +1200 Subject: [PATCH] Fix typo in validators.go (#14900) s/conatains/contains --- builtin/providers/aws/validators.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/validators.go b/builtin/providers/aws/validators.go index 91fa6ce0b..9109753ac 100644 --- a/builtin/providers/aws/validators.go +++ b/builtin/providers/aws/validators.go @@ -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 {