From e8d8bfccccc666bbef4f1019f880e9aed5aea668 Mon Sep 17 00:00:00 2001 From: Lisandro Pin Date: Fri, 7 Feb 2025 19:27:04 +0100 Subject: [PATCH] Nit: remove missing newlines on `weed shell` commands output. (#6524) Nit: remove missing newlines on `weed` commands output. --- weed/command/mount_std.go | 2 +- 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 {