fmt: apply rustfmt across the P2 arc
CI's rustfmt check flagged the multi-line sqlx::query() calls I introduced in P2 (loop_id_for_run, zeroclaw_gateway_url, etc.). No behavior change — pure formatting.
This commit is contained in:
@@ -49,14 +49,13 @@ async fn ensure_loop_container(pool: &PgPool, workspace_id: Uuid, loop_id: Uuid)
|
||||
}
|
||||
};
|
||||
let state_root = loop_state_root().join(loop_id.to_string()).join("state");
|
||||
let spawned =
|
||||
match crate::research_container::spawn_loop(&docker, loop_id, &state_root).await {
|
||||
Ok(s) => s,
|
||||
Err(e) => {
|
||||
eprintln!("loops::ensure_loop_container({loop_id}): spawn failed: {e}");
|
||||
return;
|
||||
}
|
||||
};
|
||||
let spawned = match crate::research_container::spawn_loop(&docker, loop_id, &state_root).await {
|
||||
Ok(s) => s,
|
||||
Err(e) => {
|
||||
eprintln!("loops::ensure_loop_container({loop_id}): spawn failed: {e}");
|
||||
return;
|
||||
}
|
||||
};
|
||||
if let Err(e) = cm_db::repo::loops::set_zeroclaw_container(
|
||||
pool,
|
||||
loop_id,
|
||||
|
||||
Reference in New Issue
Block a user