mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-10 23:24:39 +08:00
HEXONET: Remove duplicate code (#2279)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
parent
ca5ef2d4ac
commit
57f3576df1
1 changed files with 4 additions and 4 deletions
|
@ -60,10 +60,10 @@ func (n *HXClient) GetZoneRecords(domain string) (models.Records, error) {
|
|||
// GetZoneRecordsCorrections returns a list of corrections that will turn existing records into dc.Records.
|
||||
func (n *HXClient) GetZoneRecordsCorrections(dc *models.DomainConfig, actual models.Records) ([]*models.Correction, error) {
|
||||
|
||||
actual, err := n.GetZoneRecords(dc.Name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// actual, err := n.GetZoneRecords(dc.Name)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
|
||||
//checkNSModifications(dc)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue