-
Notifications
You must be signed in to change notification settings - Fork 8.1k
listener: handle nil pilot metakey #21513
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
Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test? Courtesy of your friendly test nag. |
@@ -2652,8 +2652,8 @@ func isMatchAllFilterChain(fc *listener.FilterChain) bool { | |||
|
|||
func isFallthroughFilterChain(fc *listener.FilterChain) bool { | |||
if fc.Metadata != nil && fc.Metadata.FilterMetadata != nil && | |||
fc.Metadata.FilterMetadata[PilotMetaKey].Fields["fallthrough"].GetBoolValue() { |
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 could be fc.Metadata.FilterMetadata[PilotMetaKey].GetFields()["fallthrough"].GetBoolValue() {
I think since gogo does nil checks
/cherrypick/release-1.5 |
In response to a cherrypick label: new pull request created: #21570 |
Hi, @ramaraochavali is this going to be backported to 1.4 ? |
@pmoncadaisla It is already backported to 1.4 via this #21514 |
Hi @ramaraochavali, it was merged in |
I see. @howardjohn Do you know when |
This week
…On Mon, Mar 23, 2020, 3:01 AM Rama Chavali ***@***.***> wrote:
I see. @howardjohn <https://github.com/howardjohn> Do you know when 1.4.7
will be released?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21513 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEYGXPUCLXAI57J54OZEPTRI4XRHANCNFSM4K4G7SSQ>
.
|
Fixes #21508
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure