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

Use InitFlags() for command line flags #52

Open
jayesh-srivastava opened this issue Mar 31, 2024 · 1 comment
Open

Use InitFlags() for command line flags #52

jayesh-srivastava opened this issue Mar 31, 2024 · 1 comment

Comments

@jayesh-srivastava
Copy link

jayesh-srivastava commented Mar 31, 2024

Proposal: In the current implementation, command line flags like MetricsBindAddress, LeaderElection etc. are initialized in the main() function only. We can use a separate InitFlags() function to initialize all the command line flags. This approach will ease the process of adding more command line flags in future, and will help in keeping the main() function clean. This approach will also bring this provider more in-line with other CAPx projects

@jayesh-srivastava
Copy link
Author

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant