[before] ... monitors: kmsg: heartbeat: meminfo: job2sh: run_job: - run_job() ... id: crystal.164398 os: openeuler ...
[after] ... monitors: kmsg: heartbeat: meminfo: id: crystal.164398 os: openeuler ...
Signed-off-by: Zhang Yu 2134782174@qq.com --- src/scheduler/create_job_cpio.cr | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/scheduler/create_job_cpio.cr b/src/scheduler/create_job_cpio.cr index 5c1be7e..cfa40ab 100644 --- a/src/scheduler/create_job_cpio.cr +++ b/src/scheduler/create_job_cpio.cr @@ -80,6 +80,7 @@ class Sched # put job2sh in an array if job_content.has_key?("job2sh") tmp_job_sh_content = job_content["job2sh"] + job_content.delete("job2sh")
job_sh_array = [] of JSON::Any tmp_job_sh_content.as_h.each do |_key, val|