mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
UI fix on rendering EC volumes
addressing UI problem with https://github.com/chrislusf/seaweedfs/issues/1551
This commit is contained in:
parent
f5ee19e0db
commit
4ff2ceee33
|
@ -145,9 +145,9 @@ func (ev *EcVolume) FileName() string {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ev *EcVolume) ShardSize() int64 {
|
func (ev *EcVolume) ShardSize() uint64 {
|
||||||
if len(ev.Shards) > 0 {
|
if len(ev.Shards) > 0 {
|
||||||
return ev.Shards[0].Size()
|
return uint64(ev.Shards[0].Size())
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue