From b59dffbede6719b9b27e0f59ee7b5927febb2636 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Tue, 5 May 2020 22:38:33 +0200 Subject: [PATCH] autodns: removes TXT records during CleanUp. (#1141) --- providers/dns/autodns/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/autodns/client.go b/providers/dns/autodns/client.go index 0542f599..d8f163f0 100644 --- a/providers/dns/autodns/client.go +++ b/providers/dns/autodns/client.go @@ -74,7 +74,7 @@ func (d *DNSProvider) addTxtRecord(domain string, records []*ResourceRecord) (*Z } func (d *DNSProvider) removeTXTRecord(domain string, records []*ResourceRecord) error { - zoneStream := &ZoneStream{Adds: records} + zoneStream := &ZoneStream{Removes: records} _, err := d.makeZoneUpdateRequest(zoneStream, domain) return err