Skip to content

Commit

Permalink
chore: adjusted port name
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Jul 8, 2024
1 parent 931b9fb commit 3180140
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/domain/daemon/port.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ pub async fn create_port(cluster: Arc<dyn PortCluster>, port: PortCreated) -> Re
.take(7)
.map(char::from)
.collect();
let name = format!("{}-{}", port.kind.clone().to_lowercase(), slug);
let name = format!(
"{}-{}",
port.kind.clone().to_lowercase(),
slug.to_lowercase()
);

let api = ApiResource {
kind: port.kind.clone(),
Expand Down

0 comments on commit 3180140

Please sign in to comment.