diff options
| author | Chris Lu <chris.lu@uber.com> | 2019-03-17 20:27:08 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2019-03-17 20:27:08 -0700 |
| commit | aca653c08bfaae205e3a62ae9e58ce327a5a583f (patch) | |
| tree | 83cc519f45f0186c10365c5a332e8a995fdb00ed /weed/shell/command_collection_list.go | |
| parent | 22fbbf023b180e3c51261b0746a52be715e86648 (diff) | |
| download | seaweedfs-aca653c08bfaae205e3a62ae9e58ce327a5a583f.tar.xz seaweedfs-aca653c08bfaae205e3a62ae9e58ce327a5a583f.zip | |
weed shell: list volumes
Diffstat (limited to 'weed/shell/command_collection_list.go')
| -rw-r--r-- | weed/shell/command_collection_list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_collection_list.go b/weed/shell/command_collection_list.go index f5ed6cfa6..34a406d67 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\"\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)) |
