Browse Source
Nit: remove missing newlines on `weed shell` commands output. (#6524)
Nit: remove missing newlines on `weed` commands output.
pull/6528/head
Lisandro Pin
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
2 deletions
-
weed/command/mount_std.go
-
weed/shell/command_ec_common.go
|
|
@ -61,7 +61,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { |
|
|
|
// basic checks
|
|
|
|
chunkSizeLimitMB := *mountOptions.chunkSizeLimitMB |
|
|
|
if chunkSizeLimitMB <= 0 { |
|
|
|
fmt.Printf("Please specify a reasonable buffer size.") |
|
|
|
fmt.Printf("Please specify a reasonable buffer size.\n") |
|
|
|
return false |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1082,7 +1082,7 @@ func EcBalance(commandEnv *CommandEnv, collections []string, dc string, ecReplic |
|
|
|
} |
|
|
|
|
|
|
|
if len(collections) == 0 { |
|
|
|
fmt.Printf("WARNING: No collections to balance EC volumes across.") |
|
|
|
fmt.Printf("WARNING: No collections to balance EC volumes across.\n") |
|
|
|
} |
|
|
|
for _, c := range collections { |
|
|
|
if err = ecb.balanceEcVolumes(c); err != nil { |
|
|
|