Skip to content

Commit 104903c

Browse files
Copilot0xrinegade
andcommitted
fix(clippy): complete ovsm library lint fixes, all tests passing
Co-authored-by: 0xrinegade <[email protected]>
1 parent 8b4e6d5 commit 104903c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/commands/nodes_handler.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ fn show_devnet_logs(lines: usize, follow: bool) -> Result<(), Box<dyn std::error
157157
}
158158

159159
/// Handle QA command for automated testing and bug detection
160-
161160
/// Handle MCP commands using the dedicated MCP service
162161
#[tokio::main]
163162
async fn main() -> Result<(), Box<dyn std::error::Error>> {

0 commit comments

Comments
 (0)