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

chore: constant flag names #198

Merged
merged 1 commit into from
Apr 5, 2024
Merged

chore: constant flag names #198

merged 1 commit into from
Apr 5, 2024

Conversation

nvloff-f3
Copy link
Contributor

@nvloff-f3 nvloff-f3 commented Apr 5, 2024

  • Extract flag names to constants to avoid possible misalignment between defining the flag and using it.
  • metrics: use constant name for dropped instead of string literal
  • rework run command flag setup to make it obvious how IgnoreCommonFlags is applied.
  • Verbose error when concurrency is negative instead of a generic "invalid value".
  • Extract distribution types to constants to avoid possible misalignment.

@nvloff-f3 nvloff-f3 merged commit bb80709 into master Apr 5, 2024
4 checks passed
@nvloff-f3 nvloff-f3 deleted the nvloff-flags branch April 5, 2024 07:19
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

Successfully merging this pull request may close these issues.

2 participants