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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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 |
|
|
} |
|
|
} |
|
|
|