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
|
@Override
|
||||||
protected Settings nodeSettings(int nodeOrdinal) {
|
protected Settings nodeSettings(int nodeOrdinal) {
|
||||||
return settingsBuilder().put(super.nodeSettings(nodeOrdinal))
|
return Settings.builder().put(super.nodeSettings(nodeOrdinal))
|
||||||
.put("node.mode", "network")
|
.put("node.mode", "network")
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue