mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
_PROVIDER flag phase 1: generate warnings
This commit is contained in:
@ -203,6 +203,11 @@ func InitializeProviders(credsFile string, cfg *models.DNSConfig, notifyFlag boo
|
||||
isNonDefault[name] = true
|
||||
}
|
||||
}
|
||||
|
||||
// Collect the names of all providers.
|
||||
// Run through the providerConfigs and output a warning if any are
|
||||
// invalid.
|
||||
|
||||
registrars := map[string]providers.Registrar{}
|
||||
dnsProviders := map[string]providers.DNSServiceProvider{}
|
||||
for _, d := range cfg.Domains {
|
||||
|
Reference in New Issue
Block a user