aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_balance.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-09-09 16:06:05 -0700
committerchrislu <chris.lu@gmail.com>2022-09-09 16:06:05 -0700
commitfc4208d128ee042e50edc3dca607173d81d10cbd (patch)
tree17d5a2c9e769fad90a50b45090d8eff0e8641411 /weed/shell/command_volume_balance.go
parent48db56ddade2ef076fae4498ca9357a280270bc5 (diff)
downloadseaweedfs-fc4208d128ee042e50edc3dca607173d81d10cbd.tar.xz
seaweedfs-fc4208d128ee042e50edc3dca607173d81d10cbd.zip
volume.balance: default to balance ALL_COLLECTIONS
Diffstat (limited to 'weed/shell/command_volume_balance.go')
-rw-r--r--weed/shell/command_volume_balance.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_balance.go b/weed/shell/command_volume_balance.go
index 2ae366fa3..bc0adfc5f 100644
--- a/weed/shell/command_volume_balance.go
+++ b/weed/shell/command_volume_balance.go
@@ -64,7 +64,7 @@ func (c *commandVolumeBalance) Help() string {
func (c *commandVolumeBalance) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
balanceCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
- collection := balanceCommand.String("collection", "EACH_COLLECTION", "collection name, or use \"ALL_COLLECTIONS\" across collections, \"EACH_COLLECTION\" for each collection")
+ collection := balanceCommand.String("collection", "ALL_COLLECTIONS", "collection name, or use \"ALL_COLLECTIONS\" across collections, \"EACH_COLLECTION\" for each collection")
dc := balanceCommand.String("dataCenter", "", "only apply the balancing for this dataCenter")
applyBalancing := balanceCommand.Bool("force", false, "apply the balancing plan.")
if err = balanceCommand.Parse(args); err != nil {