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

fix collector cannot start issue
This commit is contained in:
吴晟 Wu Sheng 2017-04-20 03:49:50 +08:00 committed by GitHub
commit 6672d5cc04
1 changed files with 1 additions and 1 deletions

View File

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