diff --git a/providers/gcloud/auditrecords.go b/providers/gcloud/auditrecords.go index 8a4776697..d0a4b62c9 100644 --- a/providers/gcloud/auditrecords.go +++ b/providers/gcloud/auditrecords.go @@ -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) } diff --git a/providers/gcloud/gcloudProvider.go b/providers/gcloud/gcloudProvider.go index 1d9d444b7..015e8724d 100644 --- a/providers/gcloud/gcloudProvider.go +++ b/providers/gcloud/gcloudProvider.go @@ -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()) }