提交 6672d5cc 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Merge pull request #152 from ascrutae/zhangxin/fix-149

fix collector cannot start issue
......@@ -28,7 +28,7 @@ public enum EsClient {
public void boot() throws UnknownHostException {
Settings settings = Settings.builder()
.put("cluster.NAME", EsConfig.Es.Cluster.NAME)
.put("cluster.name", EsConfig.Es.Cluster.NAME)
.put("client.transport.sniff", EsConfig.Es.Cluster.Transport.SNIFFER)
.build();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册