Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controllers/che/checluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (r *CheClusterReconciler) SetupWithManager(mgr ctrl.Manager) error {
}

if r.namespace != "" {
contollerBuilder.WithEventFilter(util.InNamespaceEventFilter(r.namespace))
contollerBuilder = contollerBuilder.WithEventFilter(util.InNamespaceEventFilter(r.namespace))
}

return contollerBuilder.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (r *ReconcileCheClusterBackup) SetupWithManager(mgr ctrl.Manager) error {
Watches(&source.Kind{Type: &chev1.CheClusterBackup{}}, &handler.EnqueueRequestForObject{}, builder.WithPredicates(backupCRPredicate))

if r.namespace != "" {
bldr.WithEventFilter(util.InNamespaceEventFilter(r.namespace))
bldr = bldr.WithEventFilter(util.InNamespaceEventFilter(r.namespace))
}

return bldr.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (r *ReconcileCheClusterRestore) SetupWithManager(mgr ctrl.Manager) error {
Watches(&source.Kind{Type: &chev1.CheClusterRestore{}}, &handler.EnqueueRequestForObject{}, builder.WithPredicates(restoreCRPredicate))

if r.namespace != "" {
bldr.WithEventFilter(util.InNamespaceEventFilter(r.namespace))
bldr = bldr.WithEventFilter(util.InNamespaceEventFilter(r.namespace))
}

return bldr.
Expand Down