mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-03-14 18:05:56 +01:00
Revert "add node_fail job state"
This reverts commit 6454576417ca9048435390a6a3c30415d1a15951.
This commit is contained in:
parent
bd93b8be8e
commit
4b2d7068b3
@ -1786,8 +1786,7 @@
|
||||
"stopped",
|
||||
"timeout",
|
||||
"preempted",
|
||||
"out_of_memory",
|
||||
"node_fail"
|
||||
"out_of_memory"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"JobStateRunning",
|
||||
@ -1797,8 +1796,7 @@
|
||||
"JobStateStopped",
|
||||
"JobStateTimeout",
|
||||
"JobStatePreempted",
|
||||
"JobStateOutOfMemory",
|
||||
"JobStateNodeFail"
|
||||
"JobStateOutOfMemory"
|
||||
]
|
||||
},
|
||||
"schema.JobStatistics": {
|
||||
|
@ -395,7 +395,6 @@ definitions:
|
||||
- timeout
|
||||
- preempted
|
||||
- out_of_memory
|
||||
- node_fail
|
||||
type: string
|
||||
x-enum-varnames:
|
||||
- JobStateRunning
|
||||
@ -406,7 +405,6 @@ definitions:
|
||||
- JobStateTimeout
|
||||
- JobStatePreempted
|
||||
- JobStateOutOfMemory
|
||||
- JobStateNodeFail
|
||||
schema.JobStatistics:
|
||||
description: Specification for job metric statistics.
|
||||
properties:
|
||||
|
@ -1792,8 +1792,7 @@ const docTemplate = `{
|
||||
"stopped",
|
||||
"timeout",
|
||||
"preempted",
|
||||
"out_of_memory",
|
||||
"node_fail"
|
||||
"out_of_memory"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"JobStateRunning",
|
||||
@ -1803,8 +1802,7 @@ const docTemplate = `{
|
||||
"JobStateStopped",
|
||||
"JobStateTimeout",
|
||||
"JobStatePreempted",
|
||||
"JobStateOutOfMemory",
|
||||
"JobStateNodeFail"
|
||||
"JobStateOutOfMemory"
|
||||
]
|
||||
},
|
||||
"schema.JobStatistics": {
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user