Skip to content

Commit

Permalink
Fx golint
Browse files Browse the repository at this point in the history
  • Loading branch information
wenxuan0923 committed Apr 4, 2024
1 parent 9ef9c01 commit ab9901d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cluster-autoscaler/cloudprovider/azure/azure_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ab9901d

Please sign in to comment.