mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
sigh
This commit is contained in:
@@ -12,6 +12,7 @@ func AuditRecords(records []*models.RecordConfig) []error {
|
||||
a := rejectif.Auditor{}
|
||||
|
||||
a.Add("ALIAS", rejectif.LabelNotApex) // Last verified 2023-03-24
|
||||
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2023-10-27
|
||||
|
||||
return a.Audit(records)
|
||||
}
|
||||
|
||||
@@ -309,7 +309,8 @@ func (g *gcloudProvider) GetZoneRecordsCorrections(dc *models.DomainConfig, exis
|
||||
// chunks need to be allocated in a way that the memory is
|
||||
// not re-used in the next iteration.
|
||||
chunks := txtutil.ToChunks(r.GetTargetField())
|
||||
newRRs.Rrdatas = append(newRRs.Rrdatas, chunks...)
|
||||
printer.Printf("DEBUG: gcloud txt chunks=%+v\n", chunks)
|
||||
newRRs.Rrdatas = append(newRRs.Rrdatas, chunks[:]...)
|
||||
} else {
|
||||
newRRs.Rrdatas = append(newRRs.Rrdatas, r.GetTargetCombined())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user