mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BUG: diff2: ttl changes don't always work (#2093)
This commit is contained in:
@ -140,12 +140,10 @@ func ByRecord(existing models.Records, dc *models.DomainConfig, compFunc Compara
|
||||
//
|
||||
// Example usage:
|
||||
//
|
||||
// msgs, changes, err := diff2.ByZone(foundRecords, dc, nil)
|
||||
//
|
||||
// msgs, changes, err := diff2.ByZone(foundRecords, dc, nil)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
//
|
||||
// if changes {
|
||||
// // Generate a "correction" that uploads the entire zone.
|
||||
// // (dc.Records are the new records for the zone).
|
||||
|
Reference in New Issue
Block a user