mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 17:32:56 +00:00
expressions rule!
This commit is contained in:
@@ -548,13 +548,12 @@ fn build_config(args: &ProxyCliArgs) -> anyhow::Result<&'static ProxyConfig> {
|
||||
},
|
||||
};
|
||||
|
||||
let caps;
|
||||
if let Some(key) = &args.caps_key {
|
||||
let caps = if let Some(key) = &args.caps_key {
|
||||
let path = Utf8Path::new(key);
|
||||
caps = Some(CapsValidator::from_key_path(path)?);
|
||||
Some(CapsValidator::from_key_path(path)?);
|
||||
} else {
|
||||
caps = None;
|
||||
}
|
||||
None;
|
||||
};
|
||||
|
||||
let authentication_config = AuthenticationConfig {
|
||||
scram_protocol_timeout: args.scram_protocol_timeout,
|
||||
|
||||
Reference in New Issue
Block a user