weed shell: list volumes

This commit is contained in:
Chris Lu committed 2019-03-17 20:27:08 -07:00
1 parent 22fbbf023b
commit aca653c08b
13 files changed
+643 -127

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ func (c *commandCollectionList) Do(args []string, commandEnv *commandEnv, writer
}
for _, c := range resp.Collections {
fmt.Fprintf(writer, "collection:\"%s\"\treplication:\"%s\"\tTTL:\"%s\"\n", c.GetName(), c.GetReplication(), c.GetTtl())
fmt.Fprintf(writer, "collection:\"%s\"\n", c.GetName())
}
fmt.Fprintf(writer, "Total %d collections.\n", len(resp.Collections))