mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 21:55:57 +08:00
fix unused params in: providers/doh
This commit is contained in:
parent
4059ef1572
commit
a2b0970dee
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue