Docs: Fix nodeSettings example for integ tests to use correct Settings.Builder reference
This commit is contained in:
parent
fbff877ec3
commit
2093ea50d5
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue