Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbauman committed May 15, 2024
1 parent 50e0806 commit d6e0661
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private void doRedirectFailures() {
private void rollOverFailureStores(ClusterState clusterState, Runnable runnable) {
// Skip allocation of some objects if we don't need to roll over anything.
if (failureStoresToBeRolledOver.isEmpty()
|| featureService.clusterHasFeature(clusterState, LazyRolloverAction.FAILURE_STORE_LAZY_ROLLOVER)) {
|| featureService.clusterHasFeature(clusterState, LazyRolloverAction.FAILURE_STORE_LAZY_ROLLOVER) == false) {
runnable.run();
return;
}
Expand Down

0 comments on commit d6e0661

Please sign in to comment.