Skip to content

Commit c8c4982

Browse files
apollo_network_benchmark: moved args file
1 parent 9e203da commit c8c4982

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

crates/apollo_network_benchmark/src/bin/broadcast_network_stress_test_node/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ use clap::Parser;
55
#[cfg(test)]
66
mod message_test;
77

8-
mod args;
98
mod message;
109

11-
use args::Args;
10+
use apollo_network_benchmark::node_args::NodeArgs;
1211

1312
#[tokio::main]
1413
async fn main() -> Result<(), Box<dyn std::error::Error>> {
15-
let _args = Args::parse();
14+
let _args = NodeArgs::parse();
1615
Ok(())
1716
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub mod node_args;

crates/apollo_network_benchmark/src/bin/broadcast_network_stress_test_node/args.rs renamed to crates/apollo_network_benchmark/src/node_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ use clap::Parser;
22

33
#[derive(Parser, Debug, Clone)]
44
#[command(version, about, long_about = None)]
5-
pub struct Args {}
5+
pub struct NodeArgs {}

0 commit comments

Comments
 (0)