mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 02:59:55 +08:00
ui add ec shard statuses
This commit is contained in:
@@ -146,6 +146,7 @@ func (dn *DataNode) ToMap() interface{} {
|
||||
ret := make(map[string]interface{})
|
||||
ret["Url"] = dn.Url()
|
||||
ret["Volumes"] = dn.GetVolumeCount()
|
||||
ret["EcShards"] = dn.GetEcShardsCount()
|
||||
ret["Max"] = dn.GetMaxVolumeCount()
|
||||
ret["Free"] = dn.FreeSpace()
|
||||
ret["PublicUrl"] = dn.PublicUrl
|
||||
|
Reference in New Issue
Block a user