We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The checkCount function evaluates if a count is less than or equal to zero, but raises an ErrInvalidCount error that states ""count is less than 0".
ErrInvalidCount
https://github.com/quipo/statsd/blob/3d6a5565f3141ac42f8353d97b2c016da2752006/client.go#L348C1-L354C2
func checkCount(c int64) error { if c <= 0 { return ErrInvalidCount } return nil }
checkCount should be evaluating for c < 0. (Zero is OK).
checkCount
c < 0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The checkCount function evaluates if a count is less than or equal to zero, but raises an
ErrInvalidCount
error that states ""count is less than 0".https://github.com/quipo/statsd/blob/3d6a5565f3141ac42f8353d97b2c016da2752006/client.go#L348C1-L354C2
checkCount
should be evaluating forc < 0
. (Zero is OK).The text was updated successfully, but these errors were encountered: