-
Notifications
You must be signed in to change notification settings - Fork 812
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
Ruler: rule group limit enforcement has off-by-one error #3615
Comments
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions. |
Still valid |
@pracucci |
There's an open PR #3616 which got stuck. I talked to Matt -- the PR author -- and they're fine if anyone takes it over. |
Fixed in #3616. |
Thanks for quick fix! |
Describe the bug
The ruler seems to have an issue where the rules per group limit is forcing one fewer than the limit, yielding an error message like this:
To Reproduce
Submit a rule group with the same number of rules as the limit, ie: 15 rules in a group with the limit set to 15.
Expected behavior
The submitted rule group should be allowed to contain up to and containing the limit specified. The limit set to 15 should allow a group with 15 rules to be accepted.
The text was updated successfully, but these errors were encountered: