File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
jobs/elasticsearch-platform/templates/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ opendistro_security:
27
27
28
28
<%
29
29
cluster_name = nil
30
- if_link("elasticsearch") { |elasticsearch_link| cluster_name = elasticsearch_link.p("elasticsearch.cluster_name") }
30
+ if_link("elasticsearch-platform ") { |elasticsearch_link| cluster_name = elasticsearch_link.p("elasticsearch.cluster_name") }
31
31
unless cluster_name
32
32
cluster_name = p("elasticsearch.cluster_name")
33
33
end
34
34
master_hosts = nil
35
- if_link("elasticsearch") { |elasticsearch_link| master_hosts = elasticsearch_link.instances.map {|e| e.address }.join(',') }
35
+ if_link("elasticsearch-platform ") { |elasticsearch_link| master_hosts = elasticsearch_link.instances.map {|e| e.address }.join(',') }
36
36
unless master_hosts
37
37
master_hosts = p("elasticsearch.master_hosts").join(',')
38
38
end
You can’t perform that action at this time.
0 commit comments