forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ClusterState#assertConsistentRoutingNodes only returned true or threw an AssertionError. We can simplify the logic by making it a static method that initially checks whether assertions are enabled.
- Loading branch information
1 parent
0a4a052
commit b8052ae
Showing
1 changed file
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters