在节点详情中显示API节点地址/DNS节点也支持自定义API节点地址

This commit is contained in:
刘祥超
2022-11-21 21:08:17 +08:00
parent 64f54d462e
commit a95d202ef0
8 changed files with 4352 additions and 3966 deletions
+10
View File
@@ -353,6 +353,16 @@ func (this *NodeConfig) Init() (err error, serverErrors []*ServerError) {
}
}
// api node addrs
if len(this.APINodeAddrs) > 0 {
for _, addr := range this.APINodeAddrs {
err := addr.Init()
if err != nil {
return err, nil
}
}
}
return
}