mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 20:42:54 +00:00
Fmt
This commit is contained in:
committed by
Dmitry Ivanov
parent
65a0b2736b
commit
ca81a550ef
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user