autodns: removes TXT records during CleanUp. (#1141)
This commit is contained in:
parent
a7eb2cd258
commit
b59dffbede
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue