1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Rename RR() to ToRR().

This commit is contained in:
Tom Limoncelli
2017-06-17 11:00:12 -04:00
parent 5c282d819b
commit 0b34c42ff4
3 changed files with 3 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ func (c *Bind) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correcti
}
zonefilerecords := make([]dns.RR, 0, len(dc.Records))
for _, r := range dc.Records {
zonefilerecords = append(zonefilerecords, r.RR())
zonefilerecords = append(zonefilerecords, r.ToRR())
}
err = WriteZoneFile(zf, zonefilerecords, dc.Name)