mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Rename DomainCreator to the more accurate ZoneCreator (#2038)
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.org> Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
committed by
GitHub
parent
e8ae619f89
commit
5e06c249d6
@@ -223,8 +223,8 @@ func (api *vultrProvider) GetNameservers(domain string) ([]*models.Nameserver, e
|
||||
return models.ToNameservers(defaultNS)
|
||||
}
|
||||
|
||||
// EnsureDomainExists adds a domain to the Vutr DNS service if it does not exist
|
||||
func (api *vultrProvider) EnsureDomainExists(domain string) error {
|
||||
// EnsureZoneExists creates a zone if it does not exist
|
||||
func (api *vultrProvider) EnsureZoneExists(domain string) error {
|
||||
if ok, err := api.isDomainInAccount(domain); err != nil {
|
||||
return err
|
||||
} else if ok {
|
||||
|
Reference in New Issue
Block a user