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 panic in provider when the direct response body is nil #4647

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

arkodg
Copy link
Contributor

@arkodg arkodg commented Nov 6, 2024

body is an optional field, it may be nil

body is an optional field, it may be nil

Signed-off-by: Arko Dasgupta <[email protected]>
@arkodg arkodg requested a review from a team as a code owner November 6, 2024 18:07
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (main@44408dd). Learn more about missing BASE report.
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
internal/provider/kubernetes/filters.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4647   +/-   ##
=======================================
  Coverage        ?   65.55%           
=======================================
  Files           ?      211           
  Lines           ?    31946           
  Branches        ?        0           
=======================================
  Hits            ?    20942           
  Misses          ?     9760           
  Partials        ?     1244           

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

@arkodg arkodg requested a review from a team November 6, 2024 18:34
@zhaohuabing zhaohuabing merged commit ad51832 into envoyproxy:main Nov 7, 2024
23 of 24 checks passed
arkodg added a commit to arkodg/gateway that referenced this pull request Nov 7, 2024
…y#4647)

body is an optional field, it may be nil

Signed-off-by: Arko Dasgupta <[email protected]>
(cherry picked from commit ad51832)
Signed-off-by: Arko Dasgupta <[email protected]>
arkodg added a commit that referenced this pull request Nov 7, 2024
… nil (#4647) (#4654)

fix panic in provider when the direct response body is nil (#4647)

body is an optional field, it may be nil


(cherry picked from commit ad51832)

Signed-off-by: Arko Dasgupta <[email protected]>
@arkodg arkodg deleted the fix-panic-direct-response branch November 7, 2024 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants