From dfb88e2dc29ee31aae43fe50817a0134b5f0f420 Mon Sep 17 00:00:00 2001 From: atlas Date: Tue, 4 Aug 2026 17:44:24 +0200 Subject: [PATCH] wip(#3001): catch the multi-line .insert( chains the grep missed --- hive-c0re/src/dashboard/meta_inputs.rs | 2 +- hive-c0re/src/dashboard/permissions.rs | 6 +++--- hive-c0re/src/dashboard/topology.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hive-c0re/src/dashboard/meta_inputs.rs b/hive-c0re/src/dashboard/meta_inputs.rs index da1f3baa..3f6705d8 100644 --- a/hive-c0re/src/dashboard/meta_inputs.rs +++ b/hive-c0re/src/dashboard/meta_inputs.rs @@ -214,7 +214,7 @@ pub(super) async fn post_meta_update( state .coord .job_queue - .insert(|b| { + .insert_job(|b| { crate::job_queue::templates::meta_update(b, inputs, None); Vec::new() }) diff --git a/hive-c0re/src/dashboard/permissions.rs b/hive-c0re/src/dashboard/permissions.rs index 11f920d3..d542fc8c 100644 --- a/hive-c0re/src/dashboard/permissions.rs +++ b/hive-c0re/src/dashboard/permissions.rs @@ -158,7 +158,7 @@ pub(super) async fn post_tool_groups( state .coord .job_queue - .insert(|b| { + .insert_job(|b| { crate::job_queue::templates::perm_change( b, &logical, @@ -273,7 +273,7 @@ pub(super) async fn post_capabilities( state .coord .job_queue - .insert(|b| { + .insert_job(|b| { crate::job_queue::templates::perm_change( b, &logical, @@ -374,7 +374,7 @@ pub(super) async fn post_permissions( state .coord .job_queue - .insert(|b| { + .insert_job(|b| { crate::job_queue::templates::perm_change( b, &logical, diff --git a/hive-c0re/src/dashboard/topology.rs b/hive-c0re/src/dashboard/topology.rs index 79ac83a2..37ec5045 100644 --- a/hive-c0re/src/dashboard/topology.rs +++ b/hive-c0re/src/dashboard/topology.rs @@ -96,7 +96,7 @@ pub(super) async fn post_set_parent( state .coord .job_queue - .insert(|b| { + .insert_job(|b| { crate::job_queue::templates::reparent(b, vec![(child, new_parent)]); Vec::new() }) @@ -155,7 +155,7 @@ pub(super) async fn post_set_parent_bulk( state .coord .job_queue - .insert(|b| { + .insert_job(|b| { crate::job_queue::templates::reparent(b, moves); Vec::new() })