mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
fix unused params in: providers/doh
This commit is contained in:
@ -31,6 +31,6 @@ func (c *dohProvider) getNameservers(domain string) ([]string, error) {
|
||||
return ns, nil
|
||||
}
|
||||
|
||||
func (c *dohProvider) updateNameservers(ns []string, domain string) error {
|
||||
func (c *dohProvider) updateNameservers(domain string) error {
|
||||
return fmt.Errorf("DNS-over-HTTPS 'Registrar' is read only, changes must be applied to %s manually", domain)
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ func (c *dohProvider) GetRegistrarCorrections(dc *models.DomainConfig) ([]*model
|
||||
{
|
||||
Msg: fmt.Sprintf("Update nameservers %s -> %s", foundNameservers, expectedNameservers),
|
||||
F: func() error {
|
||||
return c.updateNameservers(expected, dc.Name)
|
||||
return c.updateNameservers(dc.Name)
|
||||
},
|
||||
},
|
||||
}, nil
|
||||
|
Reference in New Issue
Block a user