From d475e901e5c22c7d317e1efb8a4106980d2665a8 Mon Sep 17 00:00:00 2001 From: Alek Westover Date: Thu, 22 Jun 2023 09:45:43 -0400 Subject: [PATCH] fix more code style --- control_plane/src/bin/neon_local.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/control_plane/src/bin/neon_local.rs b/control_plane/src/bin/neon_local.rs index 1813770f54..09d644ca84 100644 --- a/control_plane/src/bin/neon_local.rs +++ b/control_plane/src/bin/neon_local.rs @@ -702,7 +702,7 @@ fn handle_endpoint(ep_match: &ArgMatches, env: &local_env::LocalEnv) -> Result<( _ => {} } println!("Starting existing endpoint {endpoint_id}..."); - endpoint.start(&auth_token, safekeepers, &remote_ext_config)?; + endpoint.start(&auth_token, safekeepers, remote_ext_config)?; } else { let branch_name = sub_args .get_one::("branch-name") @@ -746,7 +746,7 @@ fn handle_endpoint(ep_match: &ArgMatches, env: &local_env::LocalEnv) -> Result<( pg_version, mode, )?; - ep.start(&auth_token, safekeepers, &remote_ext_config)?; + ep.start(&auth_token, safekeepers, remote_ext_config)?; } } "stop" => { @@ -1162,7 +1162,7 @@ fn cli() -> Command { .arg(pg_version_arg) .arg(hot_standby_arg) .arg(safekeepers_arg) - .arg(remote_ext_config_args.clone()) + .arg(remote_ext_config_args) ) .subcommand( Command::new("stop")