Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: options.port is supposed to be a number #608

Merged
merged 2 commits into from
Nov 27, 2017
Merged

Conversation

jinwoo
Copy link
Contributor

@jinwoo jinwoo commented Nov 27, 2017

Per node's doc, options.port is supposed to be a number, but
trace-agent is checking if it's a string. Update the code so we just
check if it's truthy. I think it's better because zero is not a valid
port number and it'll also work for (non-empty) strings too.

Per node's doc, `options.port` is supposed to be a number, but
trace-agent is checking if it's a string. Update the code so we just
check if it's truthy. I think it's better because zero is not a valid
port number and it'll also work for (non-empty) strings too.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 27, 2017
@jinwoo jinwoo requested a review from kjin November 27, 2017 19:21
@jinwoo jinwoo merged commit 84cd477 into googleapis:master Nov 27, 2017
@jinwoo jinwoo deleted the fix branch November 28, 2017 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants