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

[release/v1.1] fix: don't lose timeout settings that originate from the route when t… #4450

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

zhaohuabing
Copy link
Member

@zhaohuabing zhaohuabing commented Oct 16, 2024

fix #3251
…ranslating the backend traffic policy (#4095) (#85)

  • Don't lose timeout settings that originate from the route when translating the backend traffic policy

  • Improve the readability of the timeout processing code.

  • Removed some logically unreachable code.


(cherry picked from commit 262e046)

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

…ranslating the backend traffic policy (envoyproxy#4095) (envoyproxy#85)

* Don't lose timeout settings that originate from the route when
translating the backend traffic policy



* Improve the readability of the timeout processing code.



* Removed some logically unreachable code.



---------


(cherry picked from commit 262e046)

Signed-off-by: Lior Okman <lior.okman@sap.com>
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
Co-authored-by: Lior Okman <lior.okman@sap.com>
@zhaohuabing zhaohuabing requested a review from a team as a code owner October 16, 2024 00:39
@zhaohuabing zhaohuabing changed the title fix: don't lose timeout settings that originate from the route when t… [release/v1.1] fix: don't lose timeout settings that originate from the route when t… Oct 16, 2024
@zhaohuabing zhaohuabing requested a review from arkodg October 16, 2024 00:42
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

Attention: Patch coverage is 93.18182% with 3 lines in your changes missing coverage. Please review.

Project coverage is 67.37%. Comparing base (70b1697) to head (cb4b3c9).
Report is 1 commits behind head on release/v1.1.

Files with missing lines Patch % Lines
internal/gatewayapi/backendtrafficpolicy.go 91.89% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release/v1.1    #4450      +/-   ##
================================================
+ Coverage         67.34%   67.37%   +0.03%     
================================================
  Files               183      183              
  Lines             22521    22519       -2     
================================================
+ Hits              15166    15173       +7     
+ Misses             6265     6259       -6     
+ Partials           1090     1087       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zirain zirain merged commit 7391c1c into envoyproxy:release/v1.1 Oct 16, 2024
18 checks passed
@zhaohuabing zhaohuabing deleted the fix-timeout branch October 16, 2024 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants