Skip to content

Commit

Permalink
fmt change
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajerin committed Nov 25, 2024
1 parent b1e6d5a commit b9bbc7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tembo-operator/src/cloudnativepg/hibernate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,12 @@ pub async fn reconcile_cluster_hibernation(cdb: &CoreDB, ctx: &Arc<Context>) ->
}
}

// Delete the IngressRouteTCP route for hibernated instances
// Remove IngressRouteTCP route for stopped instances
let ingress_route_tcp_name = format!("{}-ro-0", cdb.name_any().as_str());
if let Err(err) = delete_ingress_route_tcp(
Api::namespaced(client, &namespace),
&namespace,
&format!("{}-ro-0", cdb.name_any().as_str()),
&ingress_route_tcp_name,
)
.await
{
Expand Down

0 comments on commit b9bbc7d

Please sign in to comment.