mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Loki: Remove unnecessary type extension (#64883)
remove unnecessary type extension
This commit is contained in:
parent
b19f7bb653
commit
652e7334c8
@ -257,7 +257,7 @@ export class LokiDatasource
|
|||||||
.map(getNormalizedLokiQuery) // "fix" the `.queryType` prop
|
.map(getNormalizedLokiQuery) // "fix" the `.queryType` prop
|
||||||
.map((q) => ({ ...q, maxLines: q.maxLines ?? this.maxLines }));
|
.map((q) => ({ ...q, maxLines: q.maxLines ?? this.maxLines }));
|
||||||
|
|
||||||
const fixedRequest: DataQueryRequest<LokiQuery> & { targets: LokiQuery[] } = {
|
const fixedRequest: DataQueryRequest<LokiQuery> = {
|
||||||
...request,
|
...request,
|
||||||
targets: queries,
|
targets: queries,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user