From ca81a550ef1b4795f15d6b9824fecaadb31a6ecc Mon Sep 17 00:00:00 2001 From: Bojan Serafimov Date: Sat, 19 Feb 2022 01:15:33 -0500 Subject: [PATCH] Fmt --- proxy/src/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/auth.rs b/proxy/src/auth.rs index 7db73b8df2..a5bdaeaeca 100644 --- a/proxy/src/auth.rs +++ b/proxy/src/auth.rs @@ -41,7 +41,7 @@ impl ClientCredentials { use crate::config::ClientAuthMethod::*; use crate::config::RouterConfig::*; let db_info = match &config.router_config { - Static { host, port } => handle_static(host.clone(), port.clone(), client, self).await, + Static { host, port } => handle_static(host.clone(), *port, client, self).await, Dynamic(Mixed) => { if self.user.ends_with("@zenith") { handle_existing_user(config, client, self).await