Loki: Refactor template variable logic and remove reliance on timeSrv (#78586)

* Loki: Refactor variables support to reuse loic

* Remove redundant methods

* Make parseStringToVariableQuery private
This commit is contained in:
Ivana Huckova
2023-11-24 12:52:29 +01:00
committed by GitHub
parent 8120306fea
commit 8a7eb4b484
7 changed files with 57 additions and 94 deletions
+1 -2
View File
@@ -5947,8 +5947,7 @@ exports[`better eslint`] = {
[0, 0, 0, "Unexpected any. Specify a different type.", "2"],
[0, 0, 0, "Unexpected any. Specify a different type.", "3"],
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
[0, 0, 0, "Unexpected any. Specify a different type.", "5"],
[0, 0, 0, "Unexpected any. Specify a different type.", "6"]
[0, 0, 0, "Unexpected any. Specify a different type.", "5"]
],
"public/app/plugins/datasource/loki/queryUtils.ts:5381": [
[0, 0, 0, "Do not use any type assertions.", "0"]