chore: cargo fmt --all — clean up a2a merge's fmt violations
The a2a merge (d0d8e7f) landed with a handful of pre-existing rustfmt
diffs that were failing `cargo fmt --all --check` in CI. Pure whitespace
reformatting from `cargo fmt --all`; no semantic changes. Files touched:
mcp_door.rs, quota.rs, routes/a2a.rs, routes/world.rs, runtime_provision.rs,
chat_repos.rs test, and tools/chat.rs.
This commit is contained in:
@@ -69,10 +69,7 @@ pub async fn enforce_new_agent(
|
||||
}
|
||||
|
||||
/// Reject enqueueing another topology run if the workspace is at its plan cap.
|
||||
pub async fn enforce_new_run(
|
||||
state: &AppState,
|
||||
workspace_id: WorkspaceId,
|
||||
) -> Result<(), ApiError> {
|
||||
pub async fn enforce_new_run(state: &AppState, workspace_id: WorkspaceId) -> Result<(), ApiError> {
|
||||
let plan = plan_of(state, workspace_id).await?;
|
||||
let quota = plan_quota(&plan);
|
||||
let used = cm_db::repo::topology_runs::count_active(&state.pool, workspace_id).await?;
|
||||
|
||||
Reference in New Issue
Block a user