wip(#3001): rename insert -> insert_job per mara's 50056

This commit is contained in:
atlas 2026-08-04 17:41:15 +02:00 committed by mara
commit fe52037b0d
7 changed files with 24 additions and 27 deletions

View file

@ -145,7 +145,7 @@ pub(super) fn handle_update(coord: &Arc<Coordinator>, agent: &str, name: &str) -
return err;
}
tracing::info!(%agent, %name, "submit rebuild");
if let Err(e) = coord.job_queue.insert(|b| {
if let Err(e) = coord.job_queue.insert_job(|b| {
crate::job_queue::templates::rebuild(b, name, true);
Vec::new()
}) {