Improve the wording of an error message

This commit is contained in:
Alex Chan 2017-05-05 22:00:42 +01:00
parent e5d92bcbd9
commit 8b22a85736
No known key found for this signature in database
GPG Key ID: 27EFD834EE46B09A
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ func validateStreamViewType(v interface{}, k string) (ws []string, errors []erro
} }
if !viewTypes[value] { if !viewTypes[value] {
errors = append(errors, fmt.Errorf("%q be a valid DynamoDB StreamViewType", k)) errors = append(errors, fmt.Errorf("%q must be a valid DynamoDB StreamViewType", k))
} }
return return
} }