Skip to content

Commit

Permalink
Update utils/component/error.go
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Calcote <leecalcote@gmail.com>
  • Loading branch information
leecalcote authored Jul 7, 2023
1 parent 94401b7 commit 77a2b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/component/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ func ErrGetSchema(err error) error {
}

func ErrUpdateSchema(err error, obj string) error {
return errors.New(ErrUpdateSchemaCode, errors.Alert, []string{"Could not update schema for the given CRD ", obj}, []string{err.Error()}, []string{}, []string{"Make sure that the given CRD is valid"})
return errors.New(ErrUpdateSchemaCode, errors.Alert, []string{"Failed to update schema properties ", obj}, []string{err.Error()}, []string{}, []string{"Verify CRD has valid schema"})
}

0 comments on commit 77a2b90

Please sign in to comment.