Merge branch 'alerting' into alerting_notifications

This commit is contained in:
bergquist 2016-06-17 09:54:38 +02:00
commit 764c58ba8d

View File

@ -74,7 +74,6 @@ func NewAlertRuleFromDBModel(ruleDef *m.Alert) (*AlertRule, error) {
Value: warning.Get("value").MustFloat64(),
}
model.Frequency = getTimeDurationStringToSeconds(ruleDef.Settings.Get("frequency").MustString())
model.Transform = ruleDef.Settings.Get("transform").Get("type").MustString()
model.TransformParams = *ruleDef.Settings.Get("transform")