mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-18 14:41:31 +08: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 {
|
||||
return ev.Shards[0].Size()
|
||||
return uint64(ev.Shards[0].Size())
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user