Skip to content

Commit b14c4f1

Browse files
sidharthsuranak8s-ci-robot
authored andcommitted
Update the error message to be object neutral (#515)
The RequeueAfterError error type is a generic error to be used in case where a requeue is required and not tied to a cluster object. Thus the message should be generic as well
1 parent 5e5c19e commit b14c4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/error/requeue_error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ type RequeueAfterError struct {
3030

3131
// Error implements the error interface
3232
func (e *RequeueAfterError) Error() string {
33-
return fmt.Sprintf("requeue cluster in: %s", e.RequeueAfter)
33+
return fmt.Sprintf("requeue in: %s", e.RequeueAfter)
3434
}

0 commit comments

Comments
 (0)