mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-16 07:46:35 +08:00
[SSL证书]免费证书申请增加HTTP认证方式
This commit is contained in:
@@ -637,8 +637,7 @@ func (this *NodeDAO) FindEnabledNodeDNS(nodeId int64) (*Node, error) {
|
||||
one, err := this.Query().
|
||||
State(NodeStateEnabled).
|
||||
Pk(nodeId).
|
||||
Attr("isOn", true).
|
||||
Result("id", "name", "dnsRoutes", "clusterId").
|
||||
Result("id", "name", "dnsRoutes", "clusterId", "isOn").
|
||||
Find()
|
||||
if err != nil || one == nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user