Skip to content

Commit 3bfb50f

Browse files
authored
Elastic: Create legacy runner for proxy queries (grafana#67397)
* Elastic: Rename request to legacy request and call directly * Apply content header directly in request * Move legacy running queries to legacyqueryrunner
1 parent ab7b14f commit 3bfb50f

File tree

4 files changed

+449
-404
lines changed

4 files changed

+449
-404
lines changed

.betterer.results

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3979,6 +3979,21 @@ exports[`better eslint`] = {
39793979
[0, 0, 0, "Unexpected any. Specify a different type.", "2"],
39803980
[0, 0, 0, "Unexpected any. Specify a different type.", "3"]
39813981
],
3982+
"public/app/plugins/datasource/elasticsearch/LegacyQueryRunner.ts:5381": [
3983+
[0, 0, 0, "Unexpected any. Specify a different type.", "0"],
3984+
[0, 0, 0, "Unexpected any. Specify a different type.", "1"],
3985+
[0, 0, 0, "Unexpected any. Specify a different type.", "2"],
3986+
[0, 0, 0, "Unexpected any. Specify a different type.", "3"],
3987+
[0, 0, 0, "Unexpected any. Specify a different type.", "4"],
3988+
[0, 0, 0, "Unexpected any. Specify a different type.", "5"],
3989+
[0, 0, 0, "Unexpected any. Specify a different type.", "6"],
3990+
[0, 0, 0, "Unexpected any. Specify a different type.", "7"],
3991+
[0, 0, 0, "Unexpected any. Specify a different type.", "8"],
3992+
[0, 0, 0, "Unexpected any. Specify a different type.", "9"],
3993+
[0, 0, 0, "Unexpected any. Specify a different type.", "10"],
3994+
[0, 0, 0, "Do not use any type assertions.", "11"],
3995+
[0, 0, 0, "Unexpected any. Specify a different type.", "12"]
3996+
],
39823997
"public/app/plugins/datasource/elasticsearch/QueryBuilder.test.ts:5381": [
39833998
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
39843999
],
@@ -4056,22 +4071,7 @@ exports[`better eslint`] = {
40564071
[0, 0, 0, "Unexpected any. Specify a different type.", "12"],
40574072
[0, 0, 0, "Unexpected any. Specify a different type.", "13"],
40584073
[0, 0, 0, "Unexpected any. Specify a different type.", "14"],
4059-
[0, 0, 0, "Unexpected any. Specify a different type.", "15"],
4060-
[0, 0, 0, "Unexpected any. Specify a different type.", "16"],
4061-
[0, 0, 0, "Unexpected any. Specify a different type.", "17"],
4062-
[0, 0, 0, "Unexpected any. Specify a different type.", "18"],
4063-
[0, 0, 0, "Unexpected any. Specify a different type.", "19"],
4064-
[0, 0, 0, "Do not use any type assertions.", "20"],
4065-
[0, 0, 0, "Unexpected any. Specify a different type.", "21"],
4066-
[0, 0, 0, "Unexpected any. Specify a different type.", "22"],
4067-
[0, 0, 0, "Unexpected any. Specify a different type.", "23"],
4068-
[0, 0, 0, "Unexpected any. Specify a different type.", "24"],
4069-
[0, 0, 0, "Unexpected any. Specify a different type.", "25"],
4070-
[0, 0, 0, "Unexpected any. Specify a different type.", "26"],
4071-
[0, 0, 0, "Unexpected any. Specify a different type.", "27"],
4072-
[0, 0, 0, "Unexpected any. Specify a different type.", "28"],
4073-
[0, 0, 0, "Unexpected any. Specify a different type.", "29"],
4074-
[0, 0, 0, "Unexpected any. Specify a different type.", "30"]
4074+
[0, 0, 0, "Unexpected any. Specify a different type.", "15"]
40754075
],
40764076
"public/app/plugins/datasource/elasticsearch/hooks/useStatelessReducer.ts:5381": [
40774077
[0, 0, 0, "Do not use any type assertions.", "0"]

0 commit comments

Comments
 (0)