mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 22:24:31 +08:00
tech(alerting): change queryrange to int from str
This commit is contained in:
@ -29,7 +29,7 @@ func ParseAlertsFromDashboard(cmd *m.SaveDashboardCommand) []m.AlertRule {
|
||||
Interval: alerting.Get("interval").MustString(),
|
||||
Title: alerting.Get("title").MustString(),
|
||||
Description: alerting.Get("description").MustString(),
|
||||
QueryRange: alerting.Get("queryRange").MustString(),
|
||||
QueryRange: alerting.Get("queryRange").MustInt(),
|
||||
Aggregator: alerting.Get("aggregator").MustString(),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user