Skip to content

Commit

Permalink
manual updates part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Oct 3, 2024
1 parent f5bd1a2 commit bd3500a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure/scope/managedmachinepool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,11 +907,11 @@ func getAzureMachinePool(name string, mode infrav1.NodePoolMode) *infrav1.AzureM
}
}

func getAzureMachinePoolWithScaling(name string, min, max int) *infrav1.AzureManagedMachinePool {
func getAzureMachinePoolWithScaling(name string, minVal, maxVal int) *infrav1.AzureManagedMachinePool {
managedPool := getAzureMachinePool(name, infrav1.NodePoolModeUser)
managedPool.Spec.Scaling = &infrav1.ManagedMachinePoolScaling{
MinSize: ptr.To(min),
MaxSize: ptr.To(max),
MinSize: ptr.To(minVal),
MaxSize: ptr.To(maxVal),
}
return managedPool
}
Expand Down

0 comments on commit bd3500a

Please sign in to comment.