Browse Source

adjust UI

pull/1794/head
Chris Lu 4 years ago
parent
commit
3cdf5945a2
  1. 2
      weed/topology/data_node.go

2
weed/topology/data_node.go

@ -190,7 +190,7 @@ func (dn *DataNode) Url() string {
func (dn *DataNode) ToMap() interface{} {
ret := make(map[string]interface{})
ret["Url"] = dn.Url()
ret["Volumes"] = dn.GetVolumeCount()
ret["Volumes"] = dn.GetVolumeCount() + dn.GetSsdVolumeCount()
ret["VolumeIds"] = dn.GetVolumeIds()
ret["EcShards"] = dn.GetEcShardCount()
ret["Max"] = dn.GetMaxVolumeCount()

Loading…
Cancel
Save