Skip to content

Commit

Permalink
Remove adding deprecated master role in node roles
Browse files Browse the repository at this point in the history
Signed-off-by: Sandesh Kumar <[email protected]>
  • Loading branch information
sandeshkr419 committed Feb 15, 2023
1 parent 415b06c commit 749f9f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/src/main/java/org/opensearch/node/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,6 @@ protected Node(
.collect(Collectors.toSet());
DiscoveryNode.setAdditionalRoles(additionalRoles);

DiscoveryNode.setDeprecatedMasterRole();

/*
* Create the environment based on the finalized view of the settings. This is to ensure that components get the same setting
* values, no matter they ask for them from.
Expand Down

0 comments on commit 749f9f1

Please sign in to comment.