节点IP地址可以设置专属集群

This commit is contained in:
刘祥超
2023-03-01 11:38:53 +08:00
parent e13abfc09e
commit 1cafbc8f72
8 changed files with 200 additions and 72 deletions

View File

@@ -113,7 +113,7 @@ func CheckClusterDNS(tx *dbs.Tx, cluster *models.NodeCluster, checkNodeIssues bo
// TODO 检查节点数量不能为0
for _, node := range nodes {
nodeId := int64(node.Id)
var nodeId = int64(node.Id)
routeCodes, err := node.DNSRouteCodesForDomainId(domainId)
if err != nil {