Skip to content

Commit bd3500a

Browse files
committed
manual updates part 4
1 parent f5bd1a2 commit bd3500a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure/scope/managedmachinepool_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,11 +907,11 @@ func getAzureMachinePool(name string, mode infrav1.NodePoolMode) *infrav1.AzureM
907907
}
908908
}
909909

910-
func getAzureMachinePoolWithScaling(name string, min, max int) *infrav1.AzureManagedMachinePool {
910+
func getAzureMachinePoolWithScaling(name string, minVal, maxVal int) *infrav1.AzureManagedMachinePool {
911911
managedPool := getAzureMachinePool(name, infrav1.NodePoolModeUser)
912912
managedPool.Spec.Scaling = &infrav1.ManagedMachinePoolScaling{
913-
MinSize: ptr.To(min),
914-
MaxSize: ptr.To(max),
913+
MinSize: ptr.To(minVal),
914+
MaxSize: ptr.To(maxVal),
915915
}
916916
return managedPool
917917
}

0 commit comments

Comments
 (0)