-
Notifications
You must be signed in to change notification settings - Fork 584
fix error when updating invalid gateway status #7415
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
Conversation
| - attachedRoutes: 0 | ||
| conditions: null | ||
| name: http | ||
| supportedKinds: null |
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.
this's a required field.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7415 +/- ##
=======================================
Coverage 72.31% 72.32%
=======================================
Files 231 231
Lines 33970 33970
=======================================
+ Hits 24566 24569 +3
+ Misses 7634 7632 -2
+ Partials 1770 1769 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| } | ||
|
|
||
| // we cannot do this early, otherwise there's an error when updating status. | ||
| gCtx.ResetListeners(resources, envoyproxyMap) |
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.
due to the logic change, can we delete
gateway/internal/gatewayapi/contexts.go
Line 48 in 9935819
| g.attachEnvoyProxy(resources, epMap) |
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.
if required by L398 to make sure envoyproxy is not alway nil.
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.
Sorry, I read wrong line, deleted.
Signed-off-by: zirain <[email protected]>
Signed-off-by: zirain <[email protected]>
|
/retest |
Follow up: #7009
fixes: #7414