mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Revert "CLEANUP: Fix many golint/staticcheck issues"
This reverts commit de64f90c51
.
This commit is contained in:
@@ -38,7 +38,7 @@ type easynameDomainList struct {
|
||||
}
|
||||
|
||||
type easynameDomain struct {
|
||||
ID int `json:"id"`
|
||||
Id int `json:"id"`
|
||||
Domain string `json:"domain"`
|
||||
NameServer1 string `json:"nameserver1"`
|
||||
NameServer2 string `json:"nameserver2"`
|
||||
|
@@ -62,7 +62,7 @@ func (c *easynameProvider) GetRegistrarCorrections(dc *models.DomainConfig) ([]*
|
||||
{
|
||||
Msg: fmt.Sprintf("Update nameservers %s -> %s", foundNameservers, expectedNameservers),
|
||||
F: func() error {
|
||||
return c.updateNameservers(expected, domain.ID)
|
||||
return c.updateNameservers(expected, domain.Id)
|
||||
},
|
||||
},
|
||||
}, nil
|
||||
|
Reference in New Issue
Block a user