fix where typo

This commit is contained in:
timchenxiaoyu
2017-03-07 09:37:41 +08:00
parent 5c168e2d58
commit 61f2202c6b

View File

@@ -531,7 +531,7 @@ func stringPointerArray(orig []string) []*string {
} }
// isNilOrEmpty returns true if the value is nil or "" // isNilOrEmpty returns true if the value is nil or ""
// Deprecated: prefer aws.StringValue(x) == "" (and elimination of this check altogether whrere possible) // Deprecated: prefer aws.StringValue(x) == "" (and elimination of this check altogether where possible)
func isNilOrEmpty(s *string) bool { func isNilOrEmpty(s *string) bool {
return s == nil || *s == "" return s == nil || *s == ""
} }