Rename static DiscoveryNode#ingestNode(Settings) to isIngestNode
This commit is contained in:
parent
49e952e272
commit
7751b45f0f
|
@ -76,7 +76,7 @@ public class DiscoveryNode implements Writeable<DiscoveryNode>, ToXContent {
|
|||
return Node.NODE_DATA_SETTING.get(settings);
|
||||
}
|
||||
|
||||
public static boolean ingestNode(Settings settings) {
|
||||
public static boolean isIngestNode(Settings settings) {
|
||||
return Node.NODE_INGEST_SETTING.get(settings);
|
||||
}
|
||||
|
||||
|
|
|
@ -220,7 +220,7 @@ public class Node implements Closeable {
|
|||
modules.add(new ClusterModule(this.settings));
|
||||
modules.add(new IndicesModule());
|
||||
modules.add(new SearchModule(settings, namedWriteableRegistry));
|
||||
modules.add(new ActionModule(DiscoveryNode.ingestNode(settings), false));
|
||||
modules.add(new ActionModule(DiscoveryNode.isIngestNode(settings), false));
|
||||
modules.add(new GatewayModule(settings));
|
||||
modules.add(new NodeClientModule());
|
||||
modules.add(new ResourceWatcherModule());
|
||||
|
|
Loading…
Reference in New Issue