1
0
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:
Tom Limoncelli
2023-04-16 14:27:58 -04:00
committed by GitHub
parent ca5ef2d4ac
commit 57f3576df1

View File

@ -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)