Skip to content

fix: fetching more than 300 records resulted in duplicates#126

Merged
mholt merged 1 commit intolibdns:masterfrom
yarelm:fix-duplicate-records
Jun 24, 2024
Merged

fix: fetching more than 300 records resulted in duplicates#126
mholt merged 1 commit intolibdns:masterfrom
yarelm:fix-duplicate-records

Conversation

@yarelm
Copy link
Copy Markdown
Contributor

@yarelm yarelm commented Oct 26, 2023

Solves #127

  • ListResourceRecordSets returns up to 300 entries. When there are more than 300 entries, on each iteration the records are appended to recordSets, but it is looped each time, causing the loop to re-iterate and having many duplicates in the returned result
  • run go mod tidy

@mholt mholt merged commit 1294dd9 into libdns:master Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants