-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Allow raw port numbers for UDP servers #2025
Allow raw port numbers for UDP servers #2025
Conversation
Signed-off-by: Yuri Shkuro <[email protected]>
cmd/agent/app/flags.go
Outdated
return b | ||
} | ||
|
||
func toHostPort(v string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if someone is running on a IPV6 host with the address of the form 2001:0db8:85a3:0000:0000:8a2e:0370:7334
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so really I was trying to catch a raw number here, so I could instead try Long.parse()
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2025 +/- ##
==========================================
- Coverage 97.41% 97.39% -0.02%
==========================================
Files 207 207
Lines 10243 10247 +4
==========================================
+ Hits 9978 9980 +2
Misses 223 223
- Partials 42 44 +2
Continue to review full report at Codecov.
|
Currently flags like
--processor.jaeger-binary.server-host-port 5001
result in a failure. I think we can be more flexible since in most cases the host is not required, just the port.