Explorar o código

tech(alerting): go vet fix

bergquist %!s(int64=9) %!d(string=hai) anos
pai
achega
66d47a9303
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,