Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvsadana committed Oct 15, 2024
1 parent 757898e commit 233b4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/orchestrator/src/database/mongodb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl Database for MongoDb {
Some(job) => {
tracing::debug!(job_id = %current_job.id, category = "db_call", "Job updated successfully");
Ok(job)
},
}
None => {
tracing::warn!(job_id = %current_job.id, category = "db_call", "Failed to update job. Job version is likely outdated");
return Err(eyre!("Failed to update job. Job version is likely outdated"));
Expand Down

0 comments on commit 233b4cd

Please sign in to comment.