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.

fix print out

Chris Lufcbc520373eb
diff --git a/weed/shell/command_collection_delete.go b/weed/shell/command_collection_delete.go
index 56eaba5765..28b9cebbd6 100644
--- a/weed/shell/command_collection_delete.go
+++ b/weed/shell/command_collection_delete.go
@@ -41,7 +41,7 @@ func (c *commandCollectionDelete) Do(args []string, commandEnv *CommandEnv, writ
}
if !*applyBalancing {
- fmt.Fprintf(writer, "collection %s will be deleted. Use -force to apply the change.\n", collectionName)
+ fmt.Fprintf(writer, "collection %s will be deleted. Use -force to apply the change.\n", *collectionName)
return nil
}
@@ -55,7 +55,7 @@ func (c *commandCollectionDelete) Do(args []string, commandEnv *CommandEnv, writ
return
}
- fmt.Fprintf(writer, "collection %s is deleted.\n", collectionName)
+ fmt.Fprintf(writer, "collection %s is deleted.\n", *collectionName)
return nil
}