mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-02-17 00:15:43 +08:00
实现基本的集群DNS列表、设置、简单数据同步
This commit is contained in:
@@ -52,3 +52,13 @@ func TestServerDAO_genDNSName(t *testing.T) {
|
||||
}
|
||||
t.Log("dnsName:", dnsName)
|
||||
}
|
||||
|
||||
func TestServerDAO_FindAllServerDNSNamesWithDNSDomainId(t *testing.T) {
|
||||
dbs.NotifyReady()
|
||||
|
||||
dnsNames, err := SharedServerDAO.FindAllServerDNSNamesWithDNSDomainId(2)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log("dnsNames:", dnsNames)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user