IP阈值增加节点分组和集群相关统计项目

This commit is contained in:
刘祥超
2021-09-14 11:36:22 +08:00
parent c2f559d48e
commit 51b938b9c7
9 changed files with 83 additions and 22 deletions

View File

@@ -113,7 +113,7 @@ func (this *NodeDAO) FindEnabledBasicNode(tx *dbs.Tx, nodeId int64) (*Node, erro
one, err := this.Query(tx).
State(NodeStateEnabled).
Pk(nodeId).
Result("id", "name", "clusterId", "isOn", "isUp").
Result("id", "name", "clusterId", "groupId", "isOn", "isUp").
Find()
if one == nil {
return nil, err