From 7b722a1067397a3ecb408b2c5df07d75250fb66a Mon Sep 17 00:00:00 2001 From: kaiba Date: Fri, 1 Sep 2023 21:11:47 +0900 Subject: [PATCH] Fix typo from ElasticSearch to Elasticsearch (#6349) --- redash/query_runner/elasticsearch2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redash/query_runner/elasticsearch2.py b/redash/query_runner/elasticsearch2.py index f8f0015c22..1ed4f136f3 100644 --- a/redash/query_runner/elasticsearch2.py +++ b/redash/query_runner/elasticsearch2.py @@ -39,7 +39,7 @@ class ElasticSearch2(BaseHTTPQueryRunner): @classmethod def name(cls): - return "ElasticSearch" + return "Elasticsearch" def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -251,7 +251,7 @@ def _build_query(self, query: str) -> Tuple[dict, str, Optional[list]]: @classmethod def name(cls): - return cls.__name__ + return "Open Distro SQL Elasticsearch" @classmethod def type(cls): @@ -297,7 +297,7 @@ def _parse_results(cls, result_fields, raw_result): @classmethod def name(cls): - return cls.__name__ + return "X-Pack SQL Elasticsearch" @classmethod def type(cls):