mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-14 04:10:26 +08:00
在节点列表显示租期、是否为备用节点等信息
This commit is contained in:
@@ -209,6 +209,8 @@ func (this *NodesAction) RunGet(params struct {
|
||||
"isInstalled": node.IsInstalled,
|
||||
"isOn": node.IsOn,
|
||||
"isUp": node.IsUp,
|
||||
"isBackup": node.IsBackupForCluster || node.IsBackupForGroup,
|
||||
"offlineDay": node.OfflineDay,
|
||||
"installStatus": maps.Map{
|
||||
"isRunning": node.InstallStatus.IsRunning,
|
||||
"isFinished": node.InstallStatus.IsFinished,
|
||||
|
||||
Reference in New Issue
Block a user