wip(#3001): rename insert -> insert_job per mara's 50056
This commit is contained in:
parent
102ebdc03d
commit
fe52037b0d
7 changed files with 24 additions and 27 deletions
|
|
@ -109,7 +109,7 @@ pub async fn ensure_root_agent(coord: &Arc<Coordinator>) -> Result<()> {
|
|||
tracing::warn!(
|
||||
"manager container exists but no applied flake — forcing rebuild to migrate"
|
||||
);
|
||||
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, MANAGER_NAME, true);
|
||||
Vec::new()
|
||||
}) {
|
||||
|
|
@ -397,7 +397,7 @@ fn submit_boot_tree(
|
|||
// The subgraphs also carry their own per-agent crash-watch suppression
|
||||
// during their `Swap` (applied at claim time); a reconcile-only boot needs
|
||||
// no transient.
|
||||
if let Err(e) = coord.job_queue.insert(|b| {
|
||||
if let Err(e) = coord.job_queue.insert_job(|b| {
|
||||
boot_nodes(b, any_stale, fanout, drifted);
|
||||
Vec::new()
|
||||
}) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue