diff options
| author | Lisandro Pin <lisandro.pin@proton.ch> | 2025-02-07 19:27:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-07 10:27:04 -0800 |
| commit | e8d8bfccccc666bbef4f1019f880e9aed5aea668 (patch) | |
| tree | a325e6c6e15ea1d7fa26dff0050eb85b3064c32f | |
| parent | 8eab76c5db2526230c1f07f406583a6b063109ec (diff) | |
| download | seaweedfs-e8d8bfccccc666bbef4f1019f880e9aed5aea668.tar.xz seaweedfs-e8d8bfccccc666bbef4f1019f880e9aed5aea668.zip | |
Nit: remove missing newlines on `weed shell` commands output. (#6524)
Nit: remove missing newlines on `weed` commands output.
| -rw-r--r-- | weed/command/mount_std.go | 2 | ||||
| -rw-r--r-- | weed/shell/command_ec_common.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 110b0a2cf..e4209449a 100644 --- a/weed/command/mount_std.go +++ b/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 } diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.go index f7af8818d..f655a163a 100644 --- a/weed/shell/command_ec_common.go +++ b/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 { |
