Docs: Fix nodeSettings example for integ tests to use correct Settings.Builder reference

This commit is contained in:
Ryan Ernst 2015-12-17 23:15:18 -08:00
parent fbff877ec3
commit 2093ea50d5
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class Mytests extends ESIntegTestCase {
@Override
protected Settings nodeSettings(int nodeOrdinal) {
return settingsBuilder().put(super.nodeSettings(nodeOrdinal))
return Settings.builder().put(super.nodeSettings(nodeOrdinal))
.put("node.mode", "network")
.build();
}