diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-02-25 00:42:48 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-02-25 00:42:48 -0800 |
| commit | e86da5a4918e0cf663a8c592387c72c850647e4e (patch) | |
| tree | 6788da75b402a51793347d9af57b1d9ea85f5db8 /weed/shell | |
| parent | 0644d637484fb811ab2b0491becde49fa51894aa (diff) | |
| download | seaweedfs-e86da5a4918e0cf663a8c592387c72c850647e4e.tar.xz seaweedfs-e86da5a4918e0cf663a8c592387c72c850647e4e.zip | |
minor
Diffstat (limited to 'weed/shell')
| -rw-r--r-- | weed/shell/command_bucket_list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_bucket_list.go b/weed/shell/command_bucket_list.go index 051eeda2d..32198c29d 100644 --- a/weed/shell/command_bucket_list.go +++ b/weed/shell/command_bucket_list.go @@ -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) |
