mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-10 08:20:24 +08:00
支持阿里云DNS
This commit is contained in:
@@ -68,10 +68,13 @@ func (this *ClusterAction) RunGet(params struct {
|
||||
nodeMaps := []maps.Map{}
|
||||
for _, node := range nodesResp.Nodes {
|
||||
nodeMaps = append(nodeMaps, maps.Map{
|
||||
"id": node.Id,
|
||||
"name": node.Name,
|
||||
"ipAddr": node.IpAddr,
|
||||
"route": node.Route,
|
||||
"id": node.Id,
|
||||
"name": node.Name,
|
||||
"ipAddr": node.IpAddr,
|
||||
"route": maps.Map{
|
||||
"name": node.Route.Name,
|
||||
"code": node.Route.Code,
|
||||
},
|
||||
"clusterId": node.ClusterId,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user