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
parent
commit
e8d8bfcccc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      weed/command/mount_std.go
  2. 2
      weed/shell/command_ec_common.go

2
weed/command/mount_std.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
}

2
weed/shell/command_ec_common.go

@ -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 {

Loading…
Cancel
Save