Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Oct 20, 2024
1 parent a89a383 commit 9d2d274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndc-rest-schema/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func (j *OperationInfo) UnmarshalJSON(b []byte) error {

rawResultType, ok := raw["result_type"]
if !ok {
return fmt.Errorf("field result_type in ProcedureInfo: required")
return errors.New("field result_type in ProcedureInfo: required")
}
var resultType schema.Type
if err := json.Unmarshal(rawResultType, &resultType); err != nil {
Expand Down

0 comments on commit 9d2d274

Please sign in to comment.