Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Sep 26, 2024

Proposed commit message

Requires the explicit calling of cfgfile.InitFlags(nil) to register the flags initialized by the cfgfile module.

This is required to allow other modules to import beats without having those flags present in the global flag.CommandLine. When they are automatically registered they collide and cause issues with other already registered command line arguments (aka. elastic-agent).

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works (not really possible to unit test)
  • [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc. (not user facing)

Disruptive User Impact

None


This is an automatic backport of pull request #40993 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from a team as a code owner September 26, 2024 11:58
@mergify mergify bot added the backport label Sep 26, 2024
@mergify mergify bot requested review from AndersonQ and VihasMakwana and removed request for a team September 26, 2024 11:58
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 26, 2024
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Sep 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 26, 2024
@pierrehilbert pierrehilbert requested review from blakerouse and removed request for AndersonQ and VihasMakwana September 26, 2024 12:29
@mergify
Copy link
Contributor Author

mergify bot commented Sep 30, 2024

This pull request has not been merged yet. Could you please review and merge it @blakerouse? 🙏

@pierrehilbert pierrehilbert merged commit 2208889 into 8.x Sep 30, 2024
@pierrehilbert pierrehilbert deleted the mergify/bp/8.x/pr-40993 branch September 30, 2024 07:08
@khushijain21 khushijain21 mentioned this pull request Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants