Skip to content

Commit

Permalink
Merge pull request #288 from rewantsoni/mmode
Browse files Browse the repository at this point in the history
controllers: fix predicate to trigger reconcile for mmode controller
  • Loading branch information
openshift-merge-bot[bot] authored Dec 4, 2024
2 parents 3bfb808 + c37b200 commit 4b75856
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/controller/maintenancemode_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ func (r *MaintenanceModeReconciler) SetupWithManager(mgr ctrl.Manager) error {
Watches(
&v1alpha1.StorageClient{},
&handler.EnqueueRequestForObject{},
builder.WithPredicates(
generationChangePredicate,
maintenanceModeChangedPredicate,
),
builder.WithPredicates(maintenanceModeChangedPredicate),
).
Complete(r)
}
Expand Down

0 comments on commit 4b75856

Please sign in to comment.