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

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,