mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Rename provider handles to *Provider (#914)
This commit is contained in:
@ -24,7 +24,7 @@ func init() {
|
||||
}
|
||||
|
||||
func newInternetBs(m map[string]string) (providers.Registrar, error) {
|
||||
api := &api{}
|
||||
api := &internetbsProvider{}
|
||||
|
||||
api.key, api.password = m["api-key"], m["password"]
|
||||
if api.key == "" || api.password == "" {
|
||||
@ -35,7 +35,7 @@ func newInternetBs(m map[string]string) (providers.Registrar, error) {
|
||||
}
|
||||
|
||||
// GetRegistrarCorrections gathers corrections that would being n to match dc.
|
||||
func (c *api) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error) {
|
||||
func (c *internetbsProvider) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error) {
|
||||
nss, err := c.getNameservers(dc.Name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user