Skip to content

Commit

Permalink
chore: replace COMPETING with COMPLETING (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent-laporte-pro committed Sep 26, 2023
1 parent 272965e commit e98b7a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class JobStateCodes(enum.Enum):
COMPLETED = "COMPLETED"

# Indicates that the only job on the node or that all jobs on the node are in the process of completing.
COMPETING = "COMPLETING"
COMPLETING = "COMPLETING"

# Job terminated on deadline.
DEADLINE = "DEADLINE"
Expand Down Expand Up @@ -271,7 +271,7 @@ def get_job_state_flags(
JobStateCodes.BOOT_FAIL: (False, False, False),
JobStateCodes.CANCELLED: (True, True, True),
JobStateCodes.COMPLETED: (True, True, False),
JobStateCodes.COMPETING: (True, False, False),
JobStateCodes.COMPLETING: (True, False, False),
JobStateCodes.DEADLINE: (True, True, True), # similar to timeout
JobStateCodes.FAILED: (True, True, True),
JobStateCodes.NODE_FAIL: (True, True, True),
Expand Down

0 comments on commit e98b7a8

Please sign in to comment.