Переглянути джерело

fix: test data api route used old name for test data datasource, fixes #12773

Torkel Ödegaard 7 роки тому
батько
коміт
276a5e6eb5
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      pkg/api/metrics.go

+ 1 - 1
pkg/api/metrics.go

@@ -99,7 +99,7 @@ func GetTestDataRandomWalk(c *m.ReqContext) Response {
 	timeRange := tsdb.NewTimeRange(from, to)
 	request := &tsdb.TsdbQuery{TimeRange: timeRange}
 
-	dsInfo := &m.DataSource{Type: "grafana-testdata-datasource"}
+	dsInfo := &m.DataSource{Type: "testdata"}
 	request.Queries = append(request.Queries, &tsdb.Query{
 		RefId:      "A",
 		IntervalMs: intervalMs,