mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #45407 from VoroOnestic/patch-1
Fix cluster_ CLI examples
This commit is contained in:
commit
53fb2e802b
@ -232,7 +232,7 @@ def cluster_health(index=None, level='cluster', local=False, hosts=None, profile
|
|||||||
|
|
||||||
CLI example::
|
CLI example::
|
||||||
|
|
||||||
salt myminion elasticsearch.health
|
salt myminion elasticsearch.cluster_health
|
||||||
'''
|
'''
|
||||||
es = _get_instance(hosts, profile)
|
es = _get_instance(hosts, profile)
|
||||||
|
|
||||||
@ -253,7 +253,7 @@ def cluster_stats(nodes=None, hosts=None, profile=None):
|
|||||||
|
|
||||||
CLI example::
|
CLI example::
|
||||||
|
|
||||||
salt myminion elasticsearch.stats
|
salt myminion elasticsearch.cluster_stats
|
||||||
'''
|
'''
|
||||||
es = _get_instance(hosts, profile)
|
es = _get_instance(hosts, profile)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user