Skip to content

Commit

Permalink
Fix lint issues in test/e2e/cluster_topology_scale_up_down_test.go (#437
Browse files Browse the repository at this point in the history
)

An earlier change had introcuded code that had lint issues.
  • Loading branch information
thunderboltsid authored May 28, 2024
1 parent a46b137 commit 0fdeb83
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/e2e/cluster_topology_scale_up_down_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,13 @@ var _ = Describe("When scaling up/down cluster with topology ", Label("clustercl
nutanixE2ETest.WaitForNodesReady(ctx, targetKubeVer, clusterResources)

var toMachineMemorySizeGib int64
fmt.Sscan(toMachineMemorySizeGibStr, &toMachineMemorySizeGib)
_, err = fmt.Sscan(toMachineMemorySizeGibStr, &toMachineMemorySizeGib)
Expect(err).ToNot(HaveOccurred())

var toMachineSystemDiskSizeGib int64
fmt.Sscan(toMachineSystemDiskSizeGibStr, &toMachineSystemDiskSizeGib)
_, err = fmt.Sscan(toMachineSystemDiskSizeGibStr, &toMachineSystemDiskSizeGib)
Expect(err).ToNot(HaveOccurred())

By("Check if all the machines have scaled down resource config (memory size, VCPUSockets, vcpusPerSocket)")
testHelper.verifyResourceConfigOnNutanixMachines(ctx, verifyResourceConfigOnNutanixMachinesParams{
clusterName: clusterName,
Expand Down

0 comments on commit 0fdeb83

Please sign in to comment.