Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Dec 9, 2024
1 parent aced9b2 commit 3c5ae76
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 @@ -197,7 +197,7 @@ func (c *TenantConcurrencyController) isGroupAtRisk(group *rules.Group) bool {
}

// Sum up the total duration of all rules in the group to determine if the group is at risk if rules were all run sequentially.
var ruleTotalDuration float64 = 0
var ruleTotalDuration float64
for _, rule := range group.Rules() {
ruleTotalDuration += rule.GetEvaluationDuration().Seconds()
}
Expand Down

0 comments on commit 3c5ae76

Please sign in to comment.