Skip to content

Commit

Permalink
Make configurable
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
  • Loading branch information
scrawfor99 committed Jul 26, 2023
1 parent c59a6d8 commit e93561d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ private void commonNodeConfig() {
for (OpenSearchNode node : nodes) {
// Can only configure master nodes if we have node names defined
if (nodeNames != null) {
commonNodeConfig(node, nodeNames, firstNode);
commonNodeConfig(node, nodeNames, firstNode, httpProtocol);
}
if (firstNode == null) {
firstNode = node;
Expand Down Expand Up @@ -493,7 +493,7 @@ private OpenSearchNode upgradeNodeToNextVersion() {
OpenSearchNode node = nodes.getByName(clusterName + "-" + nodeIndex);
node.stop(false);
node.goToNextVersion();
commonNodeConfig(node, null, null);
commonNodeConfig(node, null, null, node.getHttpProtocol());
nodeIndex += 1;
return node;
}
Expand Down

0 comments on commit e93561d

Please sign in to comment.