-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
rbac/fuzz: fix build #4150
rbac/fuzz: fix build #4150
Conversation
*Risk Level*: low *Testing*: tests pass *Docs Changes*: n/a *Release Notes*: n/a Signed-off-by: Stephan Zuercher <stephan@turbinelabs.io>
@@ -9,8 +9,8 @@ namespace Common { | |||
namespace RBAC { | |||
|
|||
namespace { | |||
const Envoy::Http::HeaderMapImpl empty_header = Envoy::Http::HeaderMapImpl(); | |||
const envoy::api::v2::core::Metadata empty_metadata = envoy::api::v2::core::Metadata(); | |||
const Envoy::Http::HeaderMapImpl empty_header; |
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.
I suppose these should actually be constructed-on-first-use.
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.
yeah I have a change for it, up to you to change this here or I will open another PR
Signed-off-by: Stephan Zuercher <stephan@turbinelabs.io>
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.
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.
Thanks!
* origin/master: http_filter: add addEncodedTrailers and addDecodedTrailers (envoyproxy#3980) rbac/fuzz: fix build (envoyproxy#4150) Signed-off-by: Snow Pettersen <snowp@squareup.com>
#4083 and #4116 conflicted with #4129
Risk Level: low
Testing: tests pass
Docs Changes: n/a
Release Notes: n/a
Signed-off-by: Stephan Zuercher stephan@turbinelabs.io