Skip to content

Commit

Permalink
autodns: removes TXT records during CleanUp. (go-acme#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored May 5, 2020
1 parent a7eb2cd commit b59dffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/dns/autodns/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b59dffb

Please sign in to comment.