mirror of
https://github.com/grafana/grafana.git
synced 2025-01-17 12:03:26 -06:00
Merge branch 'alerting' into alerting_notifications
This commit is contained in:
commit
764c58ba8d
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user