Merge pull request #14256 from alexwlchan/fix-error-message
Improve the wording of an error message
This commit is contained in:
commit
00de514749
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue