mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 14:05:27 +00:00
Changing ImmutableSettings to Settings for ES 2.0
This commit is contained in:
parent
87117a5b71
commit
8efa18e616
@ -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…
x
Reference in New Issue
Block a user