Skip to content

Commit 54f0807

Browse files
rewantsoniopenshift-cherrypick-robot
authored and
openshift-cherrypick-robot
committed
controllers: fix predicate to trigger reconcile for mmode controller
trigger reconcile of mmode controller when the storageClient's status is updated Signed-off-by: Rewant Soni <[email protected]>
1 parent a8e4607 commit 54f0807

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

internal/controller/maintenancemode_controller.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ func (r *MaintenanceModeReconciler) SetupWithManager(mgr ctrl.Manager) error {
6363
Watches(
6464
&v1alpha1.StorageClient{},
6565
&handler.EnqueueRequestForObject{},
66-
builder.WithPredicates(
67-
generationChangePredicate,
68-
maintenanceModeChangedPredicate,
69-
),
66+
builder.WithPredicates(maintenanceModeChangedPredicate),
7067
).
7168
Complete(r)
7269
}

0 commit comments

Comments
 (0)