查询域信息空数据修复

This commit is contained in:
zw 2023-02-20 09:58:29 +08:00 committed by zhangwei
parent de8d27e8e7
commit 4c53d3c509
1 changed files with 3 additions and 2 deletions

View File

@ -285,9 +285,10 @@ func getDomainsByDeployment(namespaceName string, deploymentName string) (domain
domain.DomainName = domainName
domain.DomainId = domainId
clusters = append(clusters, clusterName)
domain.Clusters = clusters
domainList = append(domainList, domain)
}
domain.Clusters = clusters
domainList = append(domainList, domain)
}
//去重
domainList = RemoveRepeatedDomain(domainList)