节点IP阈值增加节点健康检查失败

This commit is contained in:
刘祥超
2021-11-18 14:30:53 +08:00
parent 2ca8aa4b44
commit d6f896298d
8 changed files with 191 additions and 41 deletions

View File

@@ -1271,7 +1271,7 @@ func (this *NodeService) FindEnabledNodeDNS(ctx context.Context, req *pb.FindEna
return &pb.FindEnabledNodeDNSResponse{Node: nil}, nil
}
ipAddr, err := models.SharedNodeIPAddressDAO.FindFirstNodeAccessIPAddress(tx, int64(node.Id), nodeconfigs.NodeRoleNode)
ipAddr, _, err := models.SharedNodeIPAddressDAO.FindFirstNodeAccessIPAddress(tx, int64(node.Id), nodeconfigs.NodeRoleNode)
if err != nil {
return nil, err
}