From 11660f0578e8620f1cf89d549f05a2fbc385bcfa Mon Sep 17 00:00:00 2001 From: Cao Xueliang Date: Mon, 24 Nov 2025 10:46:46 +0800 Subject: [PATCH] fix function settle_job_fields overrides the hw field of function set_tbox_info before: set_tbox_info set hw.memory=8192 then settle_job_fields overrides hw.memory=8g after: settle_job_fields set hw.memory=8g then set_tbox_info set hw.memory=8192 provider use 8192m run dc and vm. Signed-off-by: Cao Xueliang --- src/find_job_boot.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/find_job_boot.cr b/src/find_job_boot.cr index 550f9221..667d0a59 100644 --- a/src/find_job_boot.cr +++ b/src/find_job_boot.cr @@ -12,8 +12,8 @@ class Sched unless job.testbox =~ /^(dc|vm)/ setup_serial_console_for_host job.testbox end - job.set_tbox_info(hostreq) job.settle_job_fields + job.set_tbox_info(hostreq) change_job_stage(job, "dispatch", nil) save_job_files(job, Kemal.config.public_folder) @hosts_cache.update_job_info(job) -- Gitee