Merge branch 'alerting' into alerting_notifications

This commit is contained in:
bergquist 2016-06-17 09:55:58 +02:00
commit 90e3d8afda

View File

@ -61,6 +61,7 @@ func NewAlertRuleFromDBModel(ruleDef *m.Alert) (*AlertRule, error) {
model.Name = ruleDef.Name
model.Description = ruleDef.Description
model.State = ruleDef.State
model.Frequency = ruleDef.Frequency
critical := ruleDef.Settings.Get("critical")
model.Critical = Level{