-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
admin: extract config dump handler to separate class #12942
Conversation
Signed-off-by: Erica Manno <erica.manno@gmail.com>
Signed-off-by: Erica Manno <erica.manno@gmail.com>
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! Other than the dependencies, I think this looks good.
"@envoy_api//envoy/config/core/v3:pkg_cc_proto", | ||
"@envoy_api//envoy/config/endpoint/v3:pkg_cc_proto", | ||
"@envoy_api//envoy/config/route/v3:pkg_cc_proto", | ||
"@envoy_api//envoy/extensions/filters/network/http_connection_manager/v3:pkg_cc_proto", |
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.
At least some of these should be added to the config_dump_handler_lib target, since it directly depends on them. They're obviously being picked up by some transitive dependency, but some future refactoring may break that so I'd rather call them out as direct dependencies.
|
||
} // namespace | ||
|
||
ConfigDumpHandler::ConfigDumpHandler(ConfigTracker& configTracker, Server::Instance& server) |
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 configTracker
should be config_tracker
-- that's what clang-tidy is complaining about.
Signed-off-by: Erica Manno <erica.manno@gmail.com>
Signed-off-by: Erica Manno <erica.manno@gmail.com>
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!
Description: extract config dump handler to separate class, as part of refactoring for #5505.
Risk Level: low
Testing: pre-existing tests
Docs Changes: n/a
Release Notes: n/a