Skip to content
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

Refactor webhook name configuration #3631

Conversation

charith-elastic
Copy link
Contributor

Minor refactoring to address the following:

  • The flag can be shortened from webhook-configuration-name to webhook-name
  • Variables and struct members used to support the feature are too Java-esque and can be simplified
  • Sorting order is not preserved in the documentation and the flag list
  • Flag description doesn't need to include the default value as Cobra already prints it out
  • Manifest generator hasn't been updated to make use of the flag

Fixes #3621

@charith-elastic charith-elastic merged commit 48a2564 into elastic:master Aug 14, 2020
@charith-elastic charith-elastic deleted the refactor/webhook-configuration-flag branch August 14, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor webhook name flag
2 participants