Skip to content

Commit a4fed99

Browse files
committed
Stop watching OpenStackCluster
1 parent 01ccaed commit a4fed99

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

controllers/openstackmachine_controller.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,6 @@ func (r *OpenStackMachineReconciler) SetupWithManager(ctx context.Context, mgr c
195195
&clusterv1.Machine{},
196196
handler.EnqueueRequestsFromMapFunc(util.MachineToInfrastructureMapFunc(infrav1.SchemeGroupVersion.WithKind("OpenStackMachine"))),
197197
).
198-
Watches(
199-
&infrav1.OpenStackCluster{},
200-
handler.EnqueueRequestsFromMapFunc(r.OpenStackClusterToOpenStackMachines(ctx)),
201-
).
202198
WithEventFilter(predicates.ResourceNotPausedAndHasFilterLabel(ctrl.LoggerFrom(ctx), r.WatchFilterValue)).
203199
Watches(
204200
&clusterv1.Cluster{},

0 commit comments

Comments
 (0)