Skip to content

Commit a59a485

Browse files
thiagompck8s-infra-cherrypick-robot
authored andcommitted
correct variable in SetupWithManager function in ammp controller
1 parent 6db87f3 commit a59a485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exp/controllers/azuremanagedmachinepool_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (ammpr *AzureManagedMachinePoolReconciler) SetupWithManager(ctx context.Con
9797
// watch for changes in CAPI MachinePool resources
9898
Watches(
9999
&source.Kind{Type: &clusterv1exp.MachinePool{}},
100-
handler.EnqueueRequestsFromMapFunc(MachinePoolToInfrastructureMapFunc(clusterv1exp.GroupVersion.WithKind("AzureManagedMachinePool"), log)),
100+
handler.EnqueueRequestsFromMapFunc(MachinePoolToInfrastructureMapFunc(infrav1exp.GroupVersion.WithKind("AzureManagedMachinePool"), log)),
101101
).
102102
// watch for changes in AzureManagedControlPlanes
103103
Watches(

0 commit comments

Comments
 (0)