Perfect your code
With built-in code review tools, GitHub makes it easy to raise the quality bar before you ship. Join the 40 million developers who've merged over 200 million pull requests.
Sign up for free See pricing for teams and enterprisesdns: update lookupService() first arg name #29040
Conversation
nodejs-github-bot
added
the
dns
label
Aug 8, 2019
Trott
approved these changes
Aug 8, 2019
|
The code variable names should always match the docs because they are exposed in stack traces. I wish there were a trivial way to lint for this in the docs. |
sam-github
approved these changes
Aug 8, 2019
cjihrig
force-pushed the
cjihrig:dns-err
branch
from
134f97b
to
9a41646
Aug 8, 2019
trivikr
approved these changes
Aug 8, 2019
targos
approved these changes
Aug 8, 2019
jasnell
approved these changes
Aug 8, 2019
lpinca
approved these changes
Aug 8, 2019
This comment has been minimized.
This comment has been minimized.
Trott
added a commit
to Trott/io.js
that referenced
this pull request
Aug 11, 2019
This comment has been minimized.
This comment has been minimized.
|
Landed in df936c5 |
Trott
closed this
Aug 11, 2019
cjihrig
deleted the
cjihrig:dns-err
branch
Aug 11, 2019
targos
added a commit
that referenced
this pull request
Aug 19, 2019
targos
added a commit
that referenced
this pull request
Aug 19, 2019
This was referenced Aug 20, 2019
JeniaBR
added a commit
to JeniaBR/node
that referenced
this pull request
Sep 11, 2019
JeniaBR
added a commit
to JeniaBR/node
that referenced
this pull request
Sep 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
cjihrig commentedAug 8, 2019
The first argument to
lookupService()should be an IP address, and is named"address"in the documentation. This commit updates the code to match the documentation and provide less confusing errors.Fixes: #29039
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes