Skip to content

Commit

Permalink
clippy: Fix replace pattern warning
Browse files Browse the repository at this point in the history
  • Loading branch information
emk committed May 17, 2022
1 parent 69e0a9c commit 25d14f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion falconerid/src/start_job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub fn retry_job(job: &Job, conn: &PgConnection) -> Result<Job> {
pub fn unique_kubernetes_job_name(pipeline_name: &str) -> String {
let tag = kubernetes::resource_tag();
format!("{}-{}", pipeline_name, tag)
.replace("_", "-")
.replace('_', "-")
.to_lowercase()
}

Expand Down

0 comments on commit 25d14f7

Please sign in to comment.