Skip to content

Commit

Permalink
fix: clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Oct 1, 2024
1 parent a6ad255 commit 804bce1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions sn_node_manager/src/cmd/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ pub async fn join(
build: bool,
count: u16,
enable_metrics_server: bool,
faucet_path: Option<PathBuf>,
faucet_version: Option<String>,
_faucet_path: Option<PathBuf>,
_faucet_version: Option<String>,
interval: u64,
metrics_port: Option<PortRange>,
node_path: Option<PathBuf>,
Expand Down Expand Up @@ -143,8 +143,8 @@ pub async fn run(
clean: bool,
count: u16,
enable_metrics_server: bool,
faucet_path: Option<PathBuf>,
faucet_version: Option<String>,
_faucet_path: Option<PathBuf>,
_faucet_version: Option<String>,
interval: u64,
metrics_port: Option<PortRange>,
node_path: Option<PathBuf>,
Expand Down
6 changes: 2 additions & 4 deletions sn_node_manager/src/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

use crate::add_services::config::PortRange;
use crate::helpers::{
check_port_availability, get_bin_version, get_start_port_if_applicable, get_username,
check_port_availability, get_bin_version, get_start_port_if_applicable,
increment_port_option,
};
use color_eyre::eyre::OptionExt;
Expand All @@ -22,10 +22,8 @@ use sn_evm::{EvmNetwork, RewardsAddress};
use sn_logging::LogFormat;
use sn_service_management::{
control::ServiceControl,
rpc::{RpcActions, RpcClient},
FaucetServiceData, NodeRegistry, NodeServiceData, ServiceStatus,
rpc::{RpcActions, RpcClient}, NodeRegistry, NodeServiceData, ServiceStatus,
};
use sn_transfers::get_faucet_data_dir;
use std::{
net::{IpAddr, Ipv4Addr, SocketAddr},
path::PathBuf,
Expand Down

0 comments on commit 804bce1

Please sign in to comment.