Skip to content

Commit

Permalink
fix cancel error
Browse files Browse the repository at this point in the history
  • Loading branch information
anda-ren committed May 17, 2023
1 parent 69d0445 commit dcba68b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class TaskStatusMachine {
new SimpleEntry<>(PAUSED, Set.of(PREPARING, ASSIGNING, RUNNING, READY, CANCELED, SUCCESS)),
new SimpleEntry<>(ASSIGNING, Set.of(CREATED, PREPARING, RUNNING, SUCCESS, FAIL, TO_CANCEL)),
new SimpleEntry<>(PREPARING, Set.of(RUNNING, SUCCESS, FAIL, TO_CANCEL)),
new SimpleEntry<>(RUNNING, Set.of(SUCCESS, FAIL, TO_CANCEL)),
new SimpleEntry<>(RUNNING, Set.of(SUCCESS, FAIL, TO_CANCEL, CANCELED)),
new SimpleEntry<>(TO_CANCEL, Set.of(CANCELLING, CANCELED, SUCCESS, FAIL)),
new SimpleEntry<>(CANCELLING, Set.of(CANCELED, FAIL)),
new SimpleEntry<>(CANCELED, Set.of()),
Expand Down

0 comments on commit dcba68b

Please sign in to comment.