Browse Source

Update weed/shell/command_ec_rebuild.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
pull/7420/head
Chris Lu 1 month ago
committed by GitHub
parent
commit
9dcbe82ae6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      weed/shell/command_ec_rebuild.go

4
weed/shell/command_ec_rebuild.go

@ -89,9 +89,9 @@ func (c *commandEcRebuild) Do(args []string, commandEnv *CommandEnv, writer io.W
collections = []string{*collection} collections = []string{*collection}
} }
fmt.Printf("rebuildEcVolumes for %+v collection(s)\n", len(collections))
fmt.Printf("rebuildEcVolumes for %d collection(s)\n", len(collections))
for _, c := range collections { for _, c := range collections {
fmt.Printf("rebuildEcVolumes collection %+v\n", c)
fmt.Printf("rebuildEcVolumes collection %s\n", c)
if err = rebuildEcVolumes(commandEnv, allEcNodes, c, writer, *applyChanges); err != nil { if err = rebuildEcVolumes(commandEnv, allEcNodes, c, writer, *applyChanges); err != nil {
return err return err
} }

Loading…
Cancel
Save