Skip to content

Commit

Permalink
Remote unused method
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
  • Loading branch information
shiv0408 committed Sep 3, 2024
1 parent 54e2d89 commit 2fcaed3
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2164,10 +2164,6 @@ public String getClusterManagerName(@Nullable String viaNode) {
}
}

public Set<String> getClusterManagers() {
return nodes.entrySet().stream().filter(entry -> CLUSTER_MANAGER_NODE_PREDICATE.test(entry.getValue())).map(Map.Entry::getKey).collect(Collectors.toSet());
}

/**
* Returns the name of the current cluster-manager node in the cluster.
*
Expand Down

0 comments on commit 2fcaed3

Please sign in to comment.