1
0
mirror of https://github.com/go-acme/lego.git synced 2024-11-29 09:52:07 +02:00

autodns: removes TXT records during CleanUp. (#1141)

This commit is contained in:
Ludovic Fernandez 2020-05-05 22:38:33 +02:00 committed by GitHub
parent a7eb2cd258
commit b59dffbede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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