Skip to content

Commit 666b798

Browse files
authored
Merge pull request #2084 from k8s-infra-cherrypick-robot/cherry-pick-2074-to-release-1.1
[release-1.1] correct variable in SetupWithManager function in ammp controller
2 parents 8597df0 + a59a485 commit 666b798

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)