Skip to content

dns: remove redundant code using common variable#57386

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
deokjinkim:250309_dns_remove_redundant_code
Mar 11, 2025
Merged

dns: remove redundant code using common variable#57386
nodejs-github-bot merged 1 commit intonodejs:mainfrom
deokjinkim:250309_dns_remove_redundant_code

Conversation

@deokjinkim
Copy link
Copy Markdown
Contributor

validFamilies variable is defined 2 times, so remove redundant code by defining validFamilies in util. Plus, apply the same approach to validDnsOrders because it's also used multiple times.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. dns Issues and PRs related to the dns subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants