diff --git a/config/config.go b/config/config.go index 3005b47c..94129ece 100644 --- a/config/config.go +++ b/config/config.go @@ -100,7 +100,7 @@ func (c Config) AggregationRules() manager.AggregationRules { } rules = append(rules, &manager.AggregationRule{ Filters: filtersFromPb(r.Filter), - RepeatRate: minimumRepeatRate, + RepeatRate: rate, NotificationConfigName: r.GetNotificationConfigName(), }) } diff --git a/manager/inhibitor.go b/manager/inhibitor.go index ae749654..fa665c6f 100644 --- a/manager/inhibitor.go +++ b/manager/inhibitor.go @@ -54,7 +54,7 @@ func (i *InhibitRule) Filter(s AlertLabelSets, t AlertLabelSets) AlertLabelSets type Inhibitor struct { mu sync.Mutex inhibitRules InhibitRules - dirty bool + dirty bool } // Replaces the current InhibitRules with a new set.