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

This commit is contained in:
Torkel Ödegaard
2018-07-31 17:29:02 +02:00
parent f1f0400769
commit 276a5e6eb5

View File

@@ -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,