Revert "add node_fail job state"

This reverts commit 6454576417.
This commit is contained in:
Michael Panzlaff
2025-03-04 18:16:02 +01:00
parent bd93b8be8e
commit 4b2d7068b3
4 changed files with 5 additions and 13 deletions

View File

@@ -143,7 +143,6 @@ const (
JobStateTimeout JobState = "timeout"
JobStatePreempted JobState = "preempted"
JobStateOutOfMemory JobState = "out_of_memory"
JobStateNodeFail JobState = "node_fail"
)
func (e *JobState) UnmarshalGQL(v interface{}) error {
@@ -172,6 +171,5 @@ func (e JobState) Valid() bool {
e == JobStateStopped ||
e == JobStateTimeout ||
e == JobStatePreempted ||
e == JobStateOutOfMemory ||
e == JobStateNodeFail
e == JobStateOutOfMemory
}