mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 09:29:11 +00:00
use real setting instead of the settings object
This commit is contained in:
parent
1fdc11aa96
commit
39d7116dbe
@ -107,7 +107,7 @@ public class TribeService extends AbstractLifecycleComponent<TribeService> {
|
|||||||
if (sb.get("cluster.name") == null) {
|
if (sb.get("cluster.name") == null) {
|
||||||
sb.put("cluster.name", "tribe_" + Strings.randomBase64UUID()); // make sure it won't join other tribe nodes in the same JVM
|
sb.put("cluster.name", "tribe_" + Strings.randomBase64UUID()); // make sure it won't join other tribe nodes in the same JVM
|
||||||
}
|
}
|
||||||
sb.put(TransportMasterNodeReadAction.FORCE_LOCAL_SETTING, true);
|
sb.put(TransportMasterNodeReadAction.FORCE_LOCAL_SETTING.getKey(), true);
|
||||||
return sb.build();
|
return sb.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user