-
Notifications
You must be signed in to change notification settings - Fork 385
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
feat: support GEP-1731 #5024
feat: support GEP-1731 #5024
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5024 +/- ##
==========================================
- Coverage 66.73% 66.70% -0.03%
==========================================
Files 210 210
Lines 32609 32647 +38
==========================================
+ Hits 21761 21778 +17
- Misses 9537 9554 +17
- Partials 1311 1315 +4 ☔ View full report in Codecov by Sentry. |
@@ -573,8 +572,8 @@ func buildHashPolicy(httpRoute *ir.HTTPRoute) []*routev3.RouteAction_HashPolicy | |||
} | |||
|
|||
func buildRetryPolicy(route *ir.HTTPRoute) (*routev3.RetryPolicy, error) { | |||
rr := route.Traffic.Retry | |||
any, err := protocov.ToAnyWithValidation(&previoushost.PreviousHostsPredicate{}) | |||
rr := route.GetRetry() |
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.
looks clean !
cc @guydc
thanks @zirain , this PR looks good, added some minor comments ! |
8209d49
to
2556f64
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.
LGTM thanks !
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 thanks !
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
Signed-off-by: zirain <zirain2009@gmail.com>
fixes: #3993