Skip to content

Commit

Permalink
fix: check state
Browse files Browse the repository at this point in the history
  • Loading branch information
hantmac committed Mar 19, 2024
1 parent d481dae commit 6430a5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public boolean isRunning() {
return false;
}
// if State is Failed or Finished, then it is not running
if (results.getState().toLowerCase(Locale.US).equals(succeededState) || results.getState().toLowerCase(Locale.US).equals(failedState) || results.getState().toLowerCase(Locale.US).equals(finishedState)) {
if (results.getState().toLowerCase(Locale.US).equals(failedState) || results.getState().toLowerCase(Locale.US).equals(finishedState)) {
return false;
}
// is running if nextUri is not null
Expand Down

0 comments on commit 6430a5d

Please sign in to comment.