1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Fix #491 for BIND, HEXONET, LINODE, NAMECHEAP, NS1, OPENSRS, SOFTLAYER, VULTR (#710)

* BIND: issues/491

* HEXONET: Fixe #491

* LINODE: Fix #491

* NAMECHEAP: Fix #491

* NS1: Fix #491

* OPENSRS: Fix #491

* SOFTLAYER: Fix #491

* VULTR: Fix #491
This commit is contained in:
Tom Limoncelli
2020-03-26 09:59:59 -04:00
committed by GitHub
parent 34c73d4025
commit 45f36ffd12
8 changed files with 13 additions and 11 deletions

View File

@@ -39,7 +39,7 @@ type OpenSRSApi struct {
}
func (c *OpenSRSApi) GetNameservers(domainName string) ([]*models.Nameserver, error) {
return models.StringsToNameservers(defaultNameServerNames), nil
return models.ToNameservers(defaultNameServerNames)
}
func (c *OpenSRSApi) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error) {