实现完整的集群、域名同步

This commit is contained in:
GoEdgeLab
2020-11-14 21:28:07 +08:00
parent e540226ff0
commit 2b1e460180
12 changed files with 507 additions and 172 deletions

View File

@@ -604,7 +604,7 @@ func (this *NodeDAO) FindAllEnabledNodesDNSWithClusterId(clusterId int64) (resul
State(NodeStateEnabled).
Attr("clusterId", clusterId).
Attr("isOn", true).
Result("id", "name", "dnsRoutes").
Result("id", "name", "dnsRoutes", "isOn").
DescPk().
Slice(&result).
FindAll()