diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-02-16 03:03:00 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-02-16 03:03:00 -0800 |
| commit | 3fe628f04e2aa3ac550c670c27d00fcc3fc2e12b (patch) | |
| tree | 98c2c6e2355c237dcc1e383673f83a555f13ab27 /weed/shell/command_volume_list.go | |
| parent | f8446b42abd7f3c6c0a298dbbb8641e466891561 (diff) | |
| download | seaweedfs-3fe628f04e2aa3ac550c670c27d00fcc3fc2e12b.tar.xz seaweedfs-3fe628f04e2aa3ac550c670c27d00fcc3fc2e12b.zip | |
use hdd instead of empty string
Diffstat (limited to 'weed/shell/command_volume_list.go')
| -rw-r--r-- | weed/shell/command_volume_list.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.go index a2ee7efd1..140998338 100644 --- a/weed/shell/command_volume_list.go +++ b/weed/shell/command_volume_list.go @@ -115,14 +115,14 @@ func writeDiskInfo(writer io.Writer, t *master_pb.DiskInfo) statistics { s = s.plus(writeVolumeInformationMessage(writer, vi)) } for _, ecShardInfo := range t.EcShardInfos { - fmt.Fprintf(writer, " ec volume id:%v collection:%v shards:%v\n", ecShardInfo.Id, ecShardInfo.Collection, erasure_coding.ShardBits(ecShardInfo.EcIndexBits).ShardIds()) + fmt.Fprintf(writer, " ec volume id:%v collection:%v shards:%v\n", ecShardInfo.Id, ecShardInfo.Collection, erasure_coding.ShardBits(ecShardInfo.EcIndexBits).ShardIds()) } fmt.Fprintf(writer, " Disk %s %+v \n", t.Type, s) return s } func writeVolumeInformationMessage(writer io.Writer, t *master_pb.VolumeInformationMessage) statistics { - fmt.Fprintf(writer, " volume %+v \n", t) + fmt.Fprintf(writer, " volume %+v \n", t) return newStatistics(t) } |
