Fix wrong repeat rate setting in config.go.

Change-Id: I362f4d2ad85eb21a64ac85814fdc2fa85da6a7f4
This commit is contained in:
Julius Volz 2013-09-11 17:55:47 +02:00
parent be0e958d8f
commit 6d789102f9
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ func (c Config) AggregationRules() manager.AggregationRules {
} }
rules = append(rules, &manager.AggregationRule{ rules = append(rules, &manager.AggregationRule{
Filters: filtersFromPb(r.Filter), Filters: filtersFromPb(r.Filter),
RepeatRate: minimumRepeatRate, RepeatRate: rate,
NotificationConfigName: r.GetNotificationConfigName(), NotificationConfigName: r.GetNotificationConfigName(),
}) })
} }

View File

@ -54,7 +54,7 @@ func (i *InhibitRule) Filter(s AlertLabelSets, t AlertLabelSets) AlertLabelSets
type Inhibitor struct { type Inhibitor struct {
mu sync.Mutex mu sync.Mutex
inhibitRules InhibitRules inhibitRules InhibitRules
dirty bool dirty bool
} }
// Replaces the current InhibitRules with a new set. // Replaces the current InhibitRules with a new set.