mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-03-15 02:15:55 +01:00
Revert "add more missing node_fail states"
This reverts commit 0a3e678329bc7162bffde549a2e85ac69b63e11b.
This commit is contained in:
parent
0a3e678329
commit
a61ff915ac
@ -1512,8 +1512,7 @@
|
|||||||
"cancelled",
|
"cancelled",
|
||||||
"stopped",
|
"stopped",
|
||||||
"timeout",
|
"timeout",
|
||||||
"out_of_memory",
|
"out_of_memory"
|
||||||
"node_fail"
|
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
@ -1671,8 +1670,7 @@
|
|||||||
"cancelled",
|
"cancelled",
|
||||||
"stopped",
|
"stopped",
|
||||||
"timeout",
|
"timeout",
|
||||||
"out_of_memory",
|
"out_of_memory"
|
||||||
"node_fail"
|
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
|
@ -201,7 +201,6 @@ definitions:
|
|||||||
- stopped
|
- stopped
|
||||||
- timeout
|
- timeout
|
||||||
- out_of_memory
|
- out_of_memory
|
||||||
- node_fail
|
|
||||||
example: completed
|
example: completed
|
||||||
metaData:
|
metaData:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@ -315,7 +314,6 @@ definitions:
|
|||||||
- stopped
|
- stopped
|
||||||
- timeout
|
- timeout
|
||||||
- out_of_memory
|
- out_of_memory
|
||||||
- node_fail
|
|
||||||
example: completed
|
example: completed
|
||||||
metaData:
|
metaData:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
@ -1518,8 +1518,7 @@ const docTemplate = `{
|
|||||||
"cancelled",
|
"cancelled",
|
||||||
"stopped",
|
"stopped",
|
||||||
"timeout",
|
"timeout",
|
||||||
"out_of_memory",
|
"out_of_memory"
|
||||||
"node_fail"
|
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
@ -1677,8 +1676,7 @@ const docTemplate = `{
|
|||||||
"cancelled",
|
"cancelled",
|
||||||
"stopped",
|
"stopped",
|
||||||
"timeout",
|
"timeout",
|
||||||
"out_of_memory",
|
"out_of_memory"
|
||||||
"node_fail"
|
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ type BaseJob struct {
|
|||||||
Partition string `json:"partition,omitempty" db:"cluster_partition" example:"main"`
|
Partition string `json:"partition,omitempty" db:"cluster_partition" example:"main"`
|
||||||
Project string `json:"project" db:"project" example:"abcd200"`
|
Project string `json:"project" db:"project" example:"abcd200"`
|
||||||
User string `json:"user" db:"hpc_user" example:"abcd100h"`
|
User string `json:"user" db:"hpc_user" example:"abcd100h"`
|
||||||
State JobState `json:"jobState" db:"job_state" example:"completed" enums:"completed,failed,cancelled,stopped,timeout,out_of_memory,node_fail"`
|
State JobState `json:"jobState" db:"job_state" example:"completed" enums:"completed,failed,cancelled,stopped,timeout,out_of_memory"`
|
||||||
Tags []*Tag `json:"tags,omitempty"`
|
Tags []*Tag `json:"tags,omitempty"`
|
||||||
RawEnergyFootprint []byte `json:"-" db:"energy_footprint"`
|
RawEnergyFootprint []byte `json:"-" db:"energy_footprint"`
|
||||||
RawFootprint []byte `json:"-" db:"footprint"`
|
RawFootprint []byte `json:"-" db:"footprint"`
|
||||||
|
@ -76,7 +76,6 @@
|
|||||||
"cancelled",
|
"cancelled",
|
||||||
"stopped",
|
"stopped",
|
||||||
"out_of_memory",
|
"out_of_memory",
|
||||||
"node_fail",
|
|
||||||
"timeout"
|
"timeout"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
"timeout",
|
"timeout",
|
||||||
"preempted",
|
"preempted",
|
||||||
"out_of_memory",
|
"out_of_memory",
|
||||||
"node_fail",
|
|
||||||
];
|
];
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user