Merge pull request #45407 from VoroOnestic/patch-1

Fix cluster_ CLI examples
This commit is contained in:
Nicole Thomas 2018-01-14 08:08:25 -05:00 committed by GitHub
commit 53fb2e802b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)