mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
DataNode: rename cluster manager property (#18342)
* the original property has been renamed inside OpenSearch, these changes update * fix changelog file * fix naming
This commit is contained in:
@@ -107,8 +107,8 @@ public class Configuration extends BaseConfiguration {
|
||||
/**
|
||||
* Comma separated list of opensearch nodes that are eligible as manager nodes.
|
||||
*/
|
||||
@Parameter(value = "cluster_initial_manager_nodes")
|
||||
private String initialManagerNodes;
|
||||
@Parameter(value = "initial_cluster_manager_nodes")
|
||||
private String initialClusterManagerNodes;
|
||||
|
||||
@Parameter(value = "opensearch_http_port", converter = IntegerConverter.class)
|
||||
private int opensearchHttpPort = 9200;
|
||||
@@ -340,8 +340,8 @@ public class Configuration extends BaseConfiguration {
|
||||
return datanodeNodeName != null && !datanodeNodeName.isBlank() ? datanodeNodeName : getHostname();
|
||||
}
|
||||
|
||||
public String getInitialManagerNodes() {
|
||||
return initialManagerNodes;
|
||||
public String getInitialClusterManagerNodes() {
|
||||
return initialClusterManagerNodes;
|
||||
}
|
||||
|
||||
public int getOpensearchHttpPort() {
|
||||
|
||||
Reference in New Issue
Block a user