Skip to content

Conversation

emanlodovice
Copy link
Contributor

What this PR does:
With this PR the ListRuleGroupsForUserAndNamespace function should not be called in the CreateRuleGroup endpoint if the MaxRuleGroups limit for the tenant is not set. The existing tests for the validation should still pass after this change.

Which issue(s) this PR fixes:
Fixes #5646

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@yeya24 yeya24 merged commit 09ee53a into cortexproject:master Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve CreateRuleGroup for tenant with no RulerMaxRuleGroupsPerTenant limit
2 participants