Skip to content

Commit

Permalink
remove unused ExecutionNodedStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
ycycse committed Sep 18, 2024
1 parent 63b61c7 commit 1b18b39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public enum ExecutionNodeStatus {
Succeed,
Failed,
Cancelled,
Ready,
Timeout;

public static boolean isRunning(ExecutionNodeStatus eventStatus) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ abstract class ComputationExecutor(val outputPrintLimit: Int = 1000)
}
case ExecutionNodeStatus.Running =>
if (
newStatus == ExecutionNodeStatus.Succeed || newStatus == ExecutionNodeStatus.Failed || newStatus == ExecutionNodeStatus.Cancelled || newStatus == ExecutionNodeStatus.Ready
newStatus == ExecutionNodeStatus.Succeed || newStatus == ExecutionNodeStatus.Failed || newStatus == ExecutionNodeStatus.Cancelled
) {
task.setStatus(newStatus)
} else {
Expand Down

0 comments on commit 1b18b39

Please sign in to comment.