This commit is contained in:
Chris Lu
2020-02-25 00:42:48 -08:00
parent 0644d63748
commit e86da5a491
2 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ func (c *commandBucketList) Do(args []string, commandEnv *CommandEnv, writer io.
}
}
if resp.Entry.Attributes.Replication == "" {
if resp.Entry.Attributes.Replication == "" || resp.Entry.Attributes.Replication == "000" {
fmt.Fprintf(writer, " %s\n", resp.Entry.Name)
} else {
fmt.Fprintf(writer, " %s\t\t\treplication: %s\n", resp.Entry.Name, resp.Entry.Attributes.Replication)