mirror of
https://github.com/vxcontrol/external-dns.git
synced 2026-07-19 18:23:33 -04:00
Revert "Update RemoveRecord() to use API v2"
This reverts commit 9165d74ce8.
This commit is contained in:
@@ -134,7 +134,7 @@ func (d *DNSimpleProvider) RemoveRecord(record utils.DnsRecord) error {
|
||||
|
||||
for _, rec := range records {
|
||||
d.limiter.Wait(1)
|
||||
_, err := d.client2.Zones.DeleteRecord(d.accountID, d.root, rec.Id)
|
||||
_, err := d.client.Domains.DeleteRecord(d.root, rec.Id)
|
||||
if err != nil {
|
||||
return fmt.Errorf("DNSimple API call has failed: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user