adjust UI max count

This commit is contained in:
Chris Lu
2020-12-17 13:47:51 -08:00
parent 3cdf5945a2
commit d9e8479c06
2 changed files with 3 additions and 6 deletions

View File

@@ -193,8 +193,7 @@ func (dn *DataNode) ToMap() interface{} {
ret["Volumes"] = dn.GetVolumeCount() + dn.GetSsdVolumeCount()
ret["VolumeIds"] = dn.GetVolumeIds()
ret["EcShards"] = dn.GetEcShardCount()
ret["Max"] = dn.GetMaxVolumeCount()
ret["MaxSsd"] = dn.GetMaxSsdVolumeCount()
ret["Max"] = dn.GetMaxVolumeCount() + dn.GetMaxSsdVolumeCount()
ret["Free"] = dn.FreeSpace()
ret["PublicUrl"] = dn.PublicUrl
return ret