Skip to content

Commit

Permalink
Merge pull request #291 from openshift-cherrypick-robot/cherry-pick-2…
Browse files Browse the repository at this point in the history
…88-to-release-4.18

DFBUGS-963: [release-4.18] controllers: fix predicate to trigger reconcile for mmode controller
  • Loading branch information
openshift-merge-bot[bot] authored Dec 4, 2024
2 parents a8e4607 + 54f0807 commit 8b37047
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 8b37047

Please sign in to comment.