mirror of
https://gitlab.cs.uni-saarland.de/hpc/cc-condor-sync.git
synced 2024-12-25 21:19:06 +01:00
Use value from actually used schema.
This commit is contained in:
parent
253784d94d
commit
21cdece420
@ -364,7 +364,7 @@ class CondorSync:
|
|||||||
# # time as new end time. Otherwise CC refuses to end the job.
|
# # time as new end time. Otherwise CC refuses to end the job.
|
||||||
# endtime = int(ccjob['startTime']) + 1
|
# endtime = int(ccjob['startTime']) + 1
|
||||||
|
|
||||||
jobstate_map = {4: "canceled", 5: "completed",
|
jobstate_map = {4: "cancelled", 5: "completed",
|
||||||
9: "failed", 10: "stopped", 12: "stopped"}
|
9: "failed", 10: "stopped", 12: "stopped"}
|
||||||
jobstate = jobstate_map[job['TriggerEventTypeNumber']]
|
jobstate = jobstate_map[job['TriggerEventTypeNumber']]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user