aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-17 13:37:00 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-17 13:37:00 -0800
commit3cdf5945a265ba22ba6f72f8e25b56c0d70f561b (patch)
tree4036871e1a02a68c28978a95218967c5a5121cce
parentf696a2b2a7c7ad519a98295b71b9ed7ae0cfcd20 (diff)
downloadseaweedfs-3cdf5945a265ba22ba6f72f8e25b56c0d70f561b.tar.xz
seaweedfs-3cdf5945a265ba22ba6f72f8e25b56c0d70f561b.zip
adjust UI
-rw-r--r--weed/topology/data_node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/topology/data_node.go b/weed/topology/data_node.go
index 400e91455..05842f33e 100644
--- a/weed/topology/data_node.go
+++ b/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()