From 22fbbf023b180e3c51261b0746a52be715e86648 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 17 Mar 2019 17:31:05 -0700 Subject: [PATCH] adjust collection list output --- weed/shell/command_collection_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))