diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-08-23 11:04:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-23 11:04:24 -0700 |
| commit | 41aedaa6876d5ef200928aafaec7c9d0b8a8a764 (patch) | |
| tree | e194f1666b7d467dc17bd045ab79c735ad1cdc05 /weed/shell/command_volume_balance_test.go | |
| parent | a367c39967cc41179b72ea0674b663cefd95ec0b (diff) | |
| download | seaweedfs-41aedaa6876d5ef200928aafaec7c9d0b8a8a764.tar.xz seaweedfs-41aedaa6876d5ef200928aafaec7c9d0b8a8a764.zip | |
Shell: support regular expression for collection selection (#7158)
* support regular expression for collection selection
* refactor
* ordering
* fix exact match
* Update command_volume_balance_test.go
* simplify
* Update command_volume_balance.go
* comment
Diffstat (limited to 'weed/shell/command_volume_balance_test.go')
| -rw-r--r-- | weed/shell/command_volume_balance_test.go | 2 |
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 3dffb1d7d..99fdf5575 100644 --- a/weed/shell/command_volume_balance_test.go +++ b/weed/shell/command_volume_balance_test.go @@ -256,7 +256,7 @@ func TestBalance(t *testing.T) { volumeReplicas, _ := collectVolumeReplicaLocations(topologyInfo) diskTypes := collectVolumeDiskTypes(topologyInfo) c := &commandVolumeBalance{} - if err := c.balanceVolumeServers(diskTypes, volumeReplicas, volumeServers, "ALL_COLLECTIONS"); err != nil { + if err := c.balanceVolumeServers(diskTypes, volumeReplicas, volumeServers, nil, "ALL_COLLECTIONS"); err != nil { t.Errorf("balance: %v", err) } |
