Skip to content

Commit

Permalink
update: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
heemankv committed Dec 27, 2024
1 parent fd4d688 commit 5e647f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/orchestrator/src/jobs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ pub async fn handle_job_failure(id: Uuid, config: Arc<Config>) -> Result<(), Job
.await
}

fn register_block_gauge(job: &JobItem, attributes: &Vec<KeyValue>) -> 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
Expand Down

0 comments on commit 5e647f3

Please sign in to comment.