mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 09:52:54 +00:00
shorter pg_port definition
This commit is contained in:
@@ -106,12 +106,10 @@ pub(crate) async fn main() -> anyhow::Result<()> {
|
||||
let working_directory = args.working_directory;
|
||||
let pg_bin_dir = args.pg_bin_dir;
|
||||
let pg_lib_dir = args.pg_lib_dir;
|
||||
let pg_port = if args.pg_port.is_some() {
|
||||
args.pg_port.unwrap()
|
||||
} else {
|
||||
let pg_port = args.pg_port.unwrap_or_else(|| {
|
||||
info!("pg_port not specified, using default 5432");
|
||||
5432
|
||||
};
|
||||
});
|
||||
|
||||
// Initialize AWS clients only if s3_prefix is specified
|
||||
let (aws_config, kms_client) = if args.s3_prefix.is_some() {
|
||||
|
||||
Reference in New Issue
Block a user