Commit 43b09b26 authored by Günter Hipler's avatar Günter Hipler
Browse files

too much lines commented when removing the cluster header property - grr

parent 1c480f8e
Pipeline #28496 passed with stages
in 7 minutes and 43 seconds
......@@ -138,9 +138,11 @@ object ElasticSearchClientWrapper extends Logging{
cp. https://discuss.elastic.co/t/when-does-client-need-cluster-name/114916
val headers = Array(new BasicHeader("cluster.name", props.get(Keys.ELASTIC_CLUSTERNAME).toString)
.asInstanceOf[Header])
new RestHighLevelClient(RestClient.builder(hosts.toArray : _*).setDefaultHeaders(headers))
*/
new RestHighLevelClient(RestClient.builder(hosts.toArray : _*))
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment