diff --git a/cluster-autoscaler/cloudprovider/azure/azure_manager_test.go b/cluster-autoscaler/cloudprovider/azure/azure_manager_test.go index 468ef8368e1e..d87ba59cab80 100644 --- a/cluster-autoscaler/cloudprovider/azure/azure_manager_test.go +++ b/cluster-autoscaler/cloudprovider/azure/azure_manager_test.go @@ -573,11 +573,11 @@ func TestFetchExplicitNodeGroups(t *testing.T) { defer ctrl.Finish() min, max, name := 1, 15, "test-asg" - vms_min, vms_max, vms_name := 1, 5, "test-vms" + vmsMin, vmsMax, vmsName := 1, 5, "test-vms" ngdo := cloudprovider.NodeGroupDiscoveryOptions{ NodeGroupSpecs: []string{ fmt.Sprintf("%d:%d:%s", min, max, name), - fmt.Sprintf("%d:%d:%s:vms", vms_min, vms_max, vms_name), + fmt.Sprintf("%d:%d:%s:vms", vmsMin, vmsMax, vmsName), }, } @@ -614,9 +614,9 @@ func TestFetchExplicitNodeGroups(t *testing.T) { assert.Equal(t, min, asgs[0].MinSize()) assert.Equal(t, max, asgs[0].MaxSize()) - assert.Equal(t, vms_name, asgs[1].Id()) - assert.Equal(t, vms_min, asgs[1].MinSize()) - assert.Equal(t, vms_max, asgs[1].MaxSize()) + assert.Equal(t, vmsMin, asgs[1].Id()) + assert.Equal(t, vmsMax, asgs[1].MinSize()) + assert.Equal(t, vmsName, asgs[1].MaxSize()) } // test vmTypeStandard