Browse Source

UI fix on rendering EC volumes

addressing UI problem with https://github.com/chrislusf/seaweedfs/issues/1551
pull/1560/head
Chris Lu 4 years ago
parent
commit
4ff2ceee33
  1. 4
      weed/storage/erasure_coding/ec_volume.go

4
weed/storage/erasure_coding/ec_volume.go

@ -145,9 +145,9 @@ func (ev *EcVolume) FileName() string {
}
func (ev *EcVolume) ShardSize() int64 {
func (ev *EcVolume) ShardSize() uint64 {
if len(ev.Shards) > 0 {
return ev.Shards[0].Size()
return uint64(ev.Shards[0].Size())
}
return 0
}

Loading…
Cancel
Save