mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 12:20:28 +08:00
节点详情中显示磁盘预估写入速度
This commit is contained in:
@@ -24,7 +24,7 @@ func JSONClone(v interface{}) (interface{}, error) {
|
||||
return nv, nil
|
||||
}
|
||||
|
||||
// 判断JSON数据是否为null
|
||||
// JSONIsNull 判断JSON数据是否为null
|
||||
func JSONIsNull(jsonData []byte) bool {
|
||||
return len(jsonData) == 0 || bytes.Equal(jsonData, []byte("null"))
|
||||
}
|
||||
|
||||
@@ -389,6 +389,7 @@ func (this *DetailAction) RunGet(params struct {
|
||||
"exePath": status.ExePath,
|
||||
"apiSuccessPercent": status.APISuccessPercent,
|
||||
"apiAvgCostSeconds": status.APIAvgCostSeconds,
|
||||
"diskWritingSpeedMB": status.DiskWritingSpeedMB,
|
||||
},
|
||||
|
||||
"group": groupMap,
|
||||
|
||||
Reference in New Issue
Block a user