Skip to content

Commit

Permalink
Switch to composable templates
Browse files Browse the repository at this point in the history
  • Loading branch information
inqueue committed Dec 4, 2023
1 parent 5ae259a commit 886fdb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esrally/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ def put_template(self, name, template):
return self.guarded(self._client.indices.put_index_template, name=name, **tmpl)

def template_exists(self, name):
return self.guarded(self._client.indices.exists_template, name=name)
return self.guarded(self._client.indices.exists_index_template, name=name)

def delete_template(self, name):
self.guarded(self._client.indices.delete_template, name=name)
self.guarded(self._client.indices.delete_index_template, name=name)

def delete_by_query(self, index, body):
return self.guarded(self._client.delete_by_query, index=index, body=body)
Expand Down

0 comments on commit 886fdb5

Please sign in to comment.