mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
fix <=
This commit is contained in:
parent
ac7c8cb650
commit
03cd2f3772
@ -101,7 +101,7 @@ public class TransportClusterHealthAction extends TransportMasterNodeOperationAc
|
||||
if (response.numberOfNodes() >= expected) {
|
||||
waitForCounter++;
|
||||
}
|
||||
} else if (request.waitForNodes().startsWith("M=")) {
|
||||
} else if (request.waitForNodes().startsWith("<=")) {
|
||||
int expected = Integer.parseInt(request.waitForNodes().substring(2));
|
||||
if (response.numberOfNodes() <= expected) {
|
||||
waitForCounter++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user