mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +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::
|
||||
|
||||
salt myminion elasticsearch.health
|
||||
salt myminion elasticsearch.cluster_health
|
||||
'''
|
||||
es = _get_instance(hosts, profile)
|
||||
|
||||
@ -253,7 +253,7 @@ def cluster_stats(nodes=None, hosts=None, profile=None):
|
||||
|
||||
CLI example::
|
||||
|
||||
salt myminion elasticsearch.stats
|
||||
salt myminion elasticsearch.cluster_stats
|
||||
'''
|
||||
es = _get_instance(hosts, profile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user