Skip to content

Commit

Permalink
Fix typo from ElasticSearch to Elasticsearch (#6349)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaibadash authored Sep 1, 2023
1 parent c70d397 commit 7b722a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions redash/query_runner/elasticsearch2.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ElasticSearch2(BaseHTTPQueryRunner):

@classmethod
def name(cls):
return "ElasticSearch"
return "Elasticsearch"

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 7b722a1

Please sign in to comment.