Skip to content

Commit

Permalink
Merge pull request #6893 from jetstack-bot/cherry-pick-6875-to-releas…
Browse files Browse the repository at this point in the history
…e-1.14

[release-1.14] Limit DigitalOcean records for cleanup to TXT only
  • Loading branch information
jetstack-bot committed Apr 10, 2024
2 parents 61e21f7 + c5ea956 commit 47b9f4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/issuer/acme/dns/digitalocean/digitalocean.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,10 @@ func (c *DNSProvider) findTxtRecord(fqdn string) ([]godo.DomainRecord, error) {
return nil, err
}

allRecords, _, err := c.client.Domains.Records(
allRecords, _, err := c.client.Domains.RecordsByType(
context.Background(),
util.UnFqdn(zoneName),
"TXT",
nil,
)

Expand Down

0 comments on commit 47b9f4a

Please sign in to comment.