Skip to content

Commit

Permalink
Remove extraneous == true
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed Nov 25, 2024
1 parent c927607 commit 1bf03b7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ boolean couldBeMovedToDeletePhase(final String policy, final IndexMetadata index
return false;
}
final LifecycleExecutionState executionState = indexMetadata.getLifecycleExecutionState();
if (executionState.phase().equals(TimeseriesLifecycleType.HOT_PHASE)
&& nonLeapFrogSteps.contains(executionState.action()) == true) {
if (executionState.phase().equals(TimeseriesLifecycleType.HOT_PHASE) && nonLeapFrogSteps.contains(executionState.action())) {
// Don't leap-frog these steps, because the index hasn't rolled over yet.
return false;
}
Expand Down

0 comments on commit 1bf03b7

Please sign in to comment.