Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Jan 10, 2025
1 parent 2eb09bb commit 8d5b863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ruler/rule_concurrency.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (c *TenantConcurrencyController) Done(_ context.Context) {
}

// Allow tries to acquire a slot from the concurrency controller.
func (c *TenantConcurrencyController) Allow(_ context.Context, group *rules.Group, rule rules.Rule) bool {
func (c *TenantConcurrencyController) Allow(_ context.Context, _ *rules.Group, rule rules.Rule) bool {
// Next, try to acquire a global concurrency slot.
c.attemptsStartedTotal.Inc()
if !c.globalConcurrency.TryAcquire(1) {
Expand Down

0 comments on commit 8d5b863

Please sign in to comment.