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(gateway): don't skip retry policy with retry methods (backport of #6896) #6899

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

kumahq[bot]
Copy link
Contributor

@kumahq kumahq bot commented Jun 1, 2023

Automatic cherry-pick of #6896 for branch release-2.2

Generated by action

cherry-picked commit 87f57df

1. The logic was wrong - if there is ***NO*** retry policy, we should
   skip applying retriable methods, not the other way around
2. Before it might crash with nil pointer dereference when we provided
   httpMethods, but there was no retry policy

Signed-off-by: Bart Smykla <bartek@smykla.com>
@kumahq kumahq bot requested a review from a team June 1, 2023 10:15
@kumahq kumahq bot added the release-2.2 label Jun 1, 2023
@kumahq kumahq bot requested review from Automaat and bartsmykla and removed request for a team June 1, 2023 10:15
@bartsmykla bartsmykla merged commit d4f22ea into release-2.2 Jun 1, 2023
@bartsmykla bartsmykla deleted the chore/backport-release-2.2-6896 branch June 1, 2023 10:42
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.

1 participant