Преглед изворни кода

tech(alerting): go vet fix

bergquist пре 9 година
родитељ
комит
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,