mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-06 12:05:48 +08:00
DNS节点增加在线状态通知
This commit is contained in:
@@ -55,6 +55,7 @@ func (this *IndexAction) RunGet(params struct{}) {
|
||||
|
||||
messages = append(messages, maps.Map{
|
||||
"id": message.Id,
|
||||
"role": message.Role,
|
||||
"isRead": message.IsRead,
|
||||
"body": message.Body,
|
||||
"level": message.Level,
|
||||
|
||||
@@ -112,7 +112,7 @@ func (this *IndexAction) RunGet(params struct {
|
||||
"error": node.InstallStatus.Error,
|
||||
},
|
||||
"status": maps.Map{
|
||||
"isActive": status.IsActive,
|
||||
"isActive": node.IsActive,
|
||||
"updatedAt": status.UpdatedAt,
|
||||
"hostname": status.Hostname,
|
||||
"cpuUsage": status.CPUUsage,
|
||||
|
||||
Reference in New Issue
Block a user