Reflect new ES api for get aliases.
see https://github.com/elasticsearch/elasticsearch/issues/4539 for more details
This commit is contained in:
@@ -3,6 +3,13 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
0.4.5 (dev)
|
||||
-----------
|
||||
|
||||
* `get_alias` now has `name` as another optional parameter due to issue #4539
|
||||
in es repo. Note that the order of params have changed so if you are not
|
||||
using keyword arguments this is a breaking change.
|
||||
|
||||
0.4.4 (2013-12-23)
|
||||
------------------
|
||||
|
||||
|
||||
@@ -301,7 +301,7 @@ class IndicesClient(NamespacedClient):
|
||||
return True
|
||||
|
||||
@query_params('allow_no_indices', 'expand_wildcards', 'ignore_indices', 'ignore_unavailable')
|
||||
def get_alias(self, name, index=None, params=None):
|
||||
def get_alias(self, index=None, name=None, params=None):
|
||||
"""
|
||||
Retrieve a specified alias.
|
||||
`<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html>`_
|
||||
|
||||
Reference in New Issue
Block a user