A few other cat APIs accept 'bytes'.

This commit is contained in:
Xiuming Chen
2015-06-22 18:09:39 -07:00
parent d328998b36
commit 9b18b85db8
+3 -3
View File
@@ -134,7 +134,7 @@ class CatClient(NamespacedClient):
params=params)
return data
@query_params('h', 'help', 'local', 'master_timeout', 'v')
@query_params('bytes', 'h', 'help', 'local', 'master_timeout', 'v')
def nodes(self, params=None):
"""
The nodes command shows the cluster topology.
@@ -173,7 +173,7 @@ class CatClient(NamespacedClient):
'recovery', index), params=params)
return data
@query_params('h', 'help', 'local', 'master_timeout', 'v')
@query_params('bytes', 'h', 'help', 'local', 'master_timeout', 'v')
def shards(self, index=None, params=None):
"""
The shards command is the detailed view of what nodes contain which shards.
@@ -193,7 +193,7 @@ class CatClient(NamespacedClient):
'shards', index), params=params)
return data
@query_params('h', 'help', 'local', 'master_timeout', 'v')
@query_params('bytes', 'h', 'help', 'local', 'master_timeout', 'v')
def segments(self, index=None, params=None):
"""
The segments command is the detailed view of Lucene segments per index.