Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Lee <[email protected]>
  • Loading branch information
BusyJay committed May 6, 2024
1 parent 4840162 commit 6967d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ const LOG_FILE: &str = "GRPCIO_BENCHMARK_LOG_FILE";
struct WorkerCli {
/// The port the worker should listen on. For example, 8080
#[arg(long)]
deriver_port: Option<u16>,
driver_port: Option<u16>,
}

fn main() {
let cli = WorkerCli::parse();
let port = cli.deriver_port.unwrap_or(8080);
let port = cli.driver_port.unwrap_or(8080);

let _log_guard = init_log(
env::var(LOG_FILE)
Expand Down

0 comments on commit 6967d05

Please sign in to comment.