mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-06 22:41:56 +02:00
adjust collection list output
This commit is contained in:
1 parent
e48267e287
commit
22fbbf023b
1 file changed
+1
-1
@@ -30,7 +30,7 @@ func (c *commandCollectionList) Do(args []string, commandEnv *commandEnv, writer
|
||||
}
|
||||
|
||||
for _, c := range resp.Collections {
|
||||
fmt.Fprintf(writer, "collection:\"%s\"\n", c.GetName())
|
||||
fmt.Fprintf(writer, "collection:\"%s\"\treplication:\"%s\"\tTTL:\"%s\"\n", c.GetName(), c.GetReplication(), c.GetTtl())
|
||||
}
|
||||
|
||||
fmt.Fprintf(writer, "Total %d collections.\n", len(resp.Collections))
|
||||
|
||||
Reference in new issue
Block a user