Skip to content

Commit

Permalink
Fix an error message pasto
Browse files Browse the repository at this point in the history
(Unrelated to the rest of this PR)

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
  • Loading branch information
mtrmac committed Jan 19, 2017
1 parent ad32de0 commit bcdbaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signature/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func stringField(m map[string]interface{}, fieldName string) (string, error) {
}
v, ok := untyped.(string)
if !ok {
return "", jsonFormatError(fmt.Sprintf("Field %s is not a JSON object", fieldName))
return "", jsonFormatError(fmt.Sprintf("Field %s is not a string", fieldName))
}
return v, nil
}
Expand Down

0 comments on commit bcdbaa9

Please sign in to comment.