查询节点DNS信息时可以区分节点是否已安装

This commit is contained in:
GoEdgeLab
2023-03-18 16:05:10 +08:00
parent 1746ee10a6
commit 67743c616e
6 changed files with 50 additions and 12 deletions

View File

@@ -363,7 +363,7 @@ func (this *DNSTaskExecutor) doCluster(taskId int64, clusterId int64) error {
// 当前的节点记录
var newRecordKeys = []string{}
nodes, err := models.SharedNodeDAO.FindAllEnabledNodesDNSWithClusterId(tx, clusterId, true, dnsConfig != nil && dnsConfig.IncludingLnNodes)
nodes, err := models.SharedNodeDAO.FindAllEnabledNodesDNSWithClusterId(tx, clusterId, true, dnsConfig != nil && dnsConfig.IncludingLnNodes, true)
if err != nil {
return err
}