Skip to content

Commit

Permalink
fix: allow custom config when running relay urls (#17)
Browse files Browse the repository at this point in the history
* fix: allow custom config when running relay urls

* cleanup

* fmt
  • Loading branch information
Arqu authored Jan 13, 2025
1 parent 245306f commit 8269ff3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/doctor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1215,10 +1215,7 @@ pub async fn run(command: Commands, config: &NodeConfig) -> anyhow::Result<()> {

port_map_probe(config).await
}
Commands::RelayUrls { count } => {
let config = NodeConfig::load(None).await?;
relay_urls(count, config).await
}
Commands::RelayUrls { count } => relay_urls(count, config.clone()).await,
Commands::Plot {
interval,
metrics,
Expand Down

0 comments on commit 8269ff3

Please sign in to comment.