mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-08 20:10:00 +00:00
remove unused DiscoveryNodes#valid method
This commit is contained in:
parent
30b57be8f4
commit
70573a35e1
@ -77,14 +77,6 @@ public class DiscoveryNodes extends AbstractDiffable<DiscoveryNodes> implements
|
||||
return nodes.valuesIt();
|
||||
}
|
||||
|
||||
/**
|
||||
* Is this a valid nodes that has the minimal information set. The minimal set is defined
|
||||
* by the localNodeId being set.
|
||||
*/
|
||||
public boolean valid() {
|
||||
return localNodeId != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns <tt>true</tt> if the local node is the elected master node.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user