Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Nit: remove missing newlines on `weed shell` commands output. (#6524)

Lisandro Pine8d8bfccccc6
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 110b0a2cf9..e4209449aa 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 f7af8818db..f655a163a2 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 {