mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
HEXONET: Remove duplicate code (#2279)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user