From bd3500a3089c2265ed8f1ad565d36823d4be65ee Mon Sep 17 00:00:00 2001 From: Nawaz Hussain Khazielakha Date: Thu, 3 Oct 2024 14:55:29 -0700 Subject: [PATCH] manual updates part 4 --- azure/scope/managedmachinepool_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure/scope/managedmachinepool_test.go b/azure/scope/managedmachinepool_test.go index 3648d0e5dab..9b6154b585c 100644 --- a/azure/scope/managedmachinepool_test.go +++ b/azure/scope/managedmachinepool_test.go @@ -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 }