-
Notifications
You must be signed in to change notification settings - Fork 690
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
internal/timeout: return parse errors instead of defaulting to infinity #2905
Conversation
64af0d9
to
432c228
Compare
Quick comments:
|
Codecov Report
@@ Coverage Diff @@
## main #2905 +/- ##
==========================================
- Coverage 76.40% 76.32% -0.08%
==========================================
Files 83 83
Lines 6298 6345 +47
==========================================
+ Hits 4812 4843 +31
- Misses 1392 1408 +16
Partials 94 94
|
See #2906 :)
Yep, just haven't gotten to that part yet
It's still an issue for (a) |
dee45f7
to
435eca4
Compare
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.
I like the approach, looks good.
435eca4
to
1db0e33
Compare
rebased for auth work |
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.
/lgtm 🎉
I'll have to rebase this post #2900 as well |
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.
LGTM, with one small testing nit.
Returns errors when parsing timeout strings so they can be reported to the user, either as invalid HTTPProxies, or in Contour logs. Previously, such errors were swallowed and the timeout in question was disabled/set to infinity. Updates projectcontour#2728 Signed-off-by: Steve Kriss <krisss@vmware.com>
1db0e33
to
5102ed1
Compare
Signed-off-by: Steve Kriss <krisss@vmware.com>
Returns errors when parsing timeout strings so they can be reported to
the user, either as invalid HTTPProxies, or in Contour logs. Previously,
such errors were swallowed and the timeout in question was disabled/set
to infinity.
Updates #2728
Signed-off-by: Steve Kriss krisss@vmware.com