Skip to content

Commit 00b5c53

Browse files
committed
Remove unnecessary requeue
- if no error was returned after defaulting, the controller can move on to reconcile the object, there is no need to requeue the request again
1 parent f064344 commit 00b5c53

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

controllers/rabbitmqcluster_controller.go

-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ func (r *RabbitmqClusterReconciler) Reconcile(req ctrl.Request) (ctrl.Result, er
107107
if err := r.Client.Update(ctx, rabbitmqCluster); err != nil {
108108
return ctrl.Result{}, err
109109
}
110-
// TODO do we need to requeue?
111-
return ctrl.Result{Requeue: true}, nil
112110
}
113111

114112
// Resource has been marked for deletion

0 commit comments

Comments
 (0)