aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_balance_test.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-03-17 01:01:45 -0700
committerchrislu <chris.lu@gmail.com>2024-03-17 01:01:45 -0700
commitca042bd067a745f5f2eda3943a98e64564f27f6a (patch)
treedd3670fd4cbf3e187e2a2288cf6fb2f6abe1bb56 /weed/shell/command_volume_balance_test.go
parent4dce1e9d29c42fd5fb08e30491eb5e6958512319 (diff)
downloadseaweedfs-ca042bd067a745f5f2eda3943a98e64564f27f6a.tar.xz
seaweedfs-ca042bd067a745f5f2eda3943a98e64564f27f6a.zip
simplify
Diffstat (limited to 'weed/shell/command_volume_balance_test.go')
-rw-r--r--weed/shell/command_volume_balance_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_balance_test.go b/weed/shell/command_volume_balance_test.go
index ce0aeb5ab..d533269a4 100644
--- a/weed/shell/command_volume_balance_test.go
+++ b/weed/shell/command_volume_balance_test.go
@@ -264,7 +264,7 @@ func TestBalance(t *testing.T) {
func TestVolumeSelection(t *testing.T) {
topologyInfo := parseOutput(topoData)
- vids, err := collectVolumeIdsForTierChange(nil, topologyInfo, 1000, types.ToDiskType("hdd"), "", 20.0, 0)
+ vids, err := collectVolumeIdsForTierChange(topologyInfo, 1000, types.ToDiskType("hdd"), "", 20.0, 0)
if err != nil {
t.Errorf("collectVolumeIdsForTierChange: %v", err)
}