-
Notifications
You must be signed in to change notification settings - Fork 542
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: idle_timeout filed to support set zero value #2296
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2296 +/- ##
==========================================
+ Coverage 69.80% 69.83% +0.02%
==========================================
Files 184 184
Lines 7280 7280
Branches 830 830
==========================================
+ Hits 5082 5084 +2
+ Misses 1902 1900 -2
Partials 296 296
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Can you add test to cover it ?
Do it latter. |
cc @nic-chen |
* upstream: fix: idle_timeout filed to support set zero value (apache#2296)
Please answer these questions before submitting a pull request, or your PR will get closed.
Why submit this pull request?
A struct filed will be omit which have
omitempty
tag and be set to default value, so we should use pointer to avoid this problem.What changes will this PR take into?
Please update this section with detailed description.
Related issues
fix/resolve #2294
Checklist: