bergquist 9 лет назад
Родитель
Сommit
66d47a9303
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/services/alerting/executor.go

+ 1 - 1
pkg/services/alerting/executor.go

@@ -136,7 +136,7 @@ func (e *ExecutorImpl) GetRequestForAlertRule(rule *AlertRule, datasource *m.Dat
 			From: "-" + strconv.Itoa(rule.QueryRange) + "s",
 			To:   "now",
 		},
-		Queries: tsdb.QuerySlice{
+		Queries: []*tsdb.Query{
 			{
 				RefId: rule.QueryRefId,
 				Query: rule.Query,