From 5e647f3812b921bf667d3719dc019d45e2384f63 Mon Sep 17 00:00:00 2001 From: Heemank Verma Date: Fri, 27 Dec 2024 18:20:19 +0530 Subject: [PATCH] update: lint fixes --- crates/orchestrator/src/jobs/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/orchestrator/src/jobs/mod.rs b/crates/orchestrator/src/jobs/mod.rs index ebde3b8e..e3e7dfde 100644 --- a/crates/orchestrator/src/jobs/mod.rs +++ b/crates/orchestrator/src/jobs/mod.rs @@ -497,7 +497,7 @@ pub async fn handle_job_failure(id: Uuid, config: Arc) -> Result<(), Job .await } -fn register_block_gauge(job: &JobItem, attributes: &Vec) -> Result<(), JobError> { +fn register_block_gauge(job: &JobItem, attributes: &[KeyValue]) -> Result<(), JobError> { let block_number = if let JobType::StateTransition = job.job_type { parse_string( job.external_id