@@ -34,7 +34,7 @@ pub async fn handle_nodes_command(
3434 let json_output = node_sub_matches. contains_id ( "json" ) ;
3535
3636 match nodes:: list_all_nodes (
37- & rpc_client,
37+ rpc_client,
3838 network,
3939 svm,
4040 node_type,
@@ -57,7 +57,7 @@ pub async fn handle_nodes_command(
5757 }
5858 "dashboard" => {
5959 // Launch node monitoring dashboard
60- match nodes:: run_dashboard ( & rpc_client, config. commitment_config , config. verbose ) {
60+ match nodes:: run_dashboard ( rpc_client, config. commitment_config , config. verbose ) {
6161 Ok ( _) => println ! ( "Node dashboard closed" ) ,
6262 Err ( e) => {
6363 eprintln ! ( "Error running node dashboard: {}" , e) ;
@@ -94,7 +94,7 @@ pub async fn handle_nodes_command(
9494 . unwrap ( ) ;
9595 let json_output = node_sub_matches. contains_id ( "json" ) ;
9696
97- match nodes:: get_node_info ( & rpc_client, node_id, config. commitment_config ) {
97+ match nodes:: get_node_info ( rpc_client, node_id, config. commitment_config ) {
9898 Ok ( info) => {
9999 if json_output {
100100 println ! ( "{}" , serde_json:: to_string_pretty( & info) . unwrap( ) ) ;
@@ -195,7 +195,7 @@ pub async fn handle_nodes_command(
195195 . with_name ( name)
196196 . with_host ( host) ;
197197
198- match nodes:: deploy_node ( & rpc_client, deploy_config) . await {
198+ match nodes:: deploy_node ( rpc_client, deploy_config) . await {
199199 Ok ( node_info) => {
200200 println ! ( "Node deployed successfully: {:?}" , node_info) ;
201201 }
0 commit comments