The name parameter of indices.get_template is not required.
This commit is contained in:
@@ -324,7 +324,7 @@ class IndicesClient(NamespacedClient):
|
|||||||
return data
|
return data
|
||||||
|
|
||||||
@query_params()
|
@query_params()
|
||||||
def get_template(self, name, params=None):
|
def get_template(self, name=None, params=None):
|
||||||
"""
|
"""
|
||||||
Retrieve an index template by its name.
|
Retrieve an index template by its name.
|
||||||
`<http://www.elasticsearch.org/guide/reference/api/admin-indices-templates/>`_
|
`<http://www.elasticsearch.org/guide/reference/api/admin-indices-templates/>`_
|
||||||
|
|||||||
Reference in New Issue
Block a user