adding support for wait_for_no_initializing_shards in health method (#777)

This commit is contained in:
Nick Lang
2018-04-24 13:13:41 -06:00
committed by GitHub
parent cd871244e0
commit f77263e3bd
+2 -1
View File
@@ -3,7 +3,8 @@ from .utils import NamespacedClient, query_params, _make_path
class ClusterClient(NamespacedClient):
@query_params('level', 'local', 'master_timeout', 'timeout',
'wait_for_active_shards', 'wait_for_events',
'wait_for_no_relocating_shards', 'wait_for_nodes', 'wait_for_status')
'wait_for_no_relocating_shards', 'wait_for_nodes',
'wait_for_status', 'wait_for_no_initializing_shards')
def health(self, index=None, params=None):
"""
Get a very simple status on the health of the cluster.