Skip to content

Commit 6fe1d94

Browse files
committed
Fixed up comment
1 parent 44498a1 commit 6fe1d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper/validation/strings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func ValidateJsonString(i interface{}, k string) (warnings []string, errors []er
192192
return StringIsJSON(i, k)
193193
}
194194

195-
// ValidateJsonString is a SchemaValidateFunc which tests to make sure the supplied string is valid JSON.
195+
// StringIsJSON is a SchemaValidateFunc which tests to make sure the supplied string is valid JSON.
196196
func StringIsJSON(i interface{}, k string) (warnings []string, errors []error) {
197197
v, ok := i.(string)
198198
if !ok {

0 commit comments

Comments
 (0)