We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71d389f + 9f9c78c commit 64f7d15Copy full SHA for 64f7d15
jobs/elasticsearch/templates/config/config.yml.erb
@@ -32,7 +32,7 @@ opendistro_security:
32
cluster_name = p("elasticsearch.cluster_name")
33
end
34
master_hosts = nil
35
- if_link("elasticsearch") { |elasticsearch_link| master_hosts = elasticsearch_link.instances.map {|e| e.name + "/" + e.index.to_s }.join(',') }
+ if_link("elasticsearch") { |elasticsearch_link| master_hosts = elasticsearch_link.instances.map {|e| e.address }.join(',') }
36
unless master_hosts
37
master_hosts = p("elasticsearch.master_hosts").join(',')
38
0 commit comments