Skip to content

Commit

Permalink
Update elasticsearch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PremyslCerny committed Oct 13, 2023
1 parent 8b142af commit 399a834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asab/storage/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ async def put_index_template(self, template_name: str, template: dict) -> dict:
:raise Exception: Raised if connection to all server URLs fails.
"""
for url in self.ServerUrls:
request_url = "{}_template/{}?include_type_name".format(url, template_name)
request_url = "{}_template/{}".format(url, template_name)
L.warning("Posting index template into url: {}".format(request_url))

if url.startswith('https://'):
Expand Down

0 comments on commit 399a834

Please sign in to comment.