aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_collection_list.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-17 17:31:05 -0700
committerChris Lu <chris.lu@uber.com>2019-03-17 17:31:05 -0700
commit22fbbf023b180e3c51261b0746a52be715e86648 (patch)
treec24ac070dc0408948821153b8b7eda67347a99ae /weed/shell/command_collection_list.go
parente48267e28731890c5b79d5baa8c91805f10a96f7 (diff)
downloadseaweedfs-22fbbf023b180e3c51261b0746a52be715e86648.tar.xz
seaweedfs-22fbbf023b180e3c51261b0746a52be715e86648.zip
adjust collection list output
Diffstat (limited to 'weed/shell/command_collection_list.go')
-rw-r--r--weed/shell/command_collection_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_collection_list.go b/weed/shell/command_collection_list.go
index 34a406d67..f5ed6cfa6 100644
--- a/weed/shell/command_collection_list.go
+++ b/weed/shell/command_collection_list.go
@@ -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))