Skip to content

Commit

Permalink
change op to patch operation to be explict
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpjose committed Apr 13, 2022
1 parent 2d5d5f7 commit 0b6b945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func ErrMissingMember(members []string) error {
// ErrUnsupportedOp generates an error for unsupported ops
func ErrUnsupportedOp(op string, supportedOps []PatchOp) error {
supported := getPatchOpsStringSlice(supportedOps)
return fmt.Errorf("op '%s' not supported. Supported op(s): %v", op, supported)
return fmt.Errorf("patch operation '%s' not supported. Supported op(s): %v", op, supported)
}

func (o PatchOp) String() string {
Expand Down

0 comments on commit 0b6b945

Please sign in to comment.