Expr: fix time unit typo in ds queries (#29668)

This commit is contained in:
Kyle Brandt 2020-12-07 16:14:22 -05:00 committed by GitHub
parent 311b563c9b
commit 46d1c99e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ func QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.Que
} }
queries[i] = &tsdb.Query{ queries[i] = &tsdb.Query{
RefId: query.RefID, RefId: query.RefID,
IntervalMs: query.Interval.Microseconds(), IntervalMs: query.Interval.Milliseconds(),
MaxDataPoints: query.MaxDataPoints, MaxDataPoints: query.MaxDataPoints,
QueryType: query.QueryType, QueryType: query.QueryType,
DataSource: getDsInfo.Result, DataSource: getDsInfo.Result,