mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
Changing ImmutableSettings to Settings for ES 2.0
This commit is contained in:
parent
87117a5b71
commit
8efa18e616
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ import static org.elasticsearch.node.NodeBuilder.*;
|
|||
// which means that they will leave the HTTP port open!
|
||||
Node node =
|
||||
nodeBuilder()
|
||||
.settings(ImmutableSettings.settingsBuilder().put("http.enabled", false))
|
||||
.settings(Settings.settingsBuilder().put("http.enabled", false))
|
||||
.client(true)
|
||||
.node();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue