-
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
Add missing logger init in New() functions #16915
Conversation
Pinging @elastic/integrations-platforms (Team:Platforms) |
You might want to think about the logger introduced in https://github.com/elastic/beats/pull/16886/files#diff-1ac599b7873eb92c72ababd1ba424851R37 as well. AFAICT it's never being initialized. |
Same (as previous comment) goes for the loggers introduced in other reader structs in https://github.com/elastic/beats/pull/16886/files. AFAICT those loggers are never initialized so the struct fields will start out as |
@ycombinator Yep, just added those too. Thanks for checking!! I think it's all covered now 😂 |
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. WFG.
This will be backported with #16886. |
CI failures are not related, merging this PR. |
This PR fixes #16886 by adding init loggers in New() functions.