Skip to content

Commit

Permalink
fix: align frontend cmd name to rpc_*
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyc committed Oct 16, 2023
1 parent d9e7b89 commit e6b8682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/src/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub struct StartCommand {
#[clap(long)]
http_timeout: Option<u64>,
#[clap(long)]
grpc_addr: Option<String>,
rpc_addr: Option<String>,
#[clap(long)]
mysql_addr: Option<String>,
#[clap(long)]
Expand Down Expand Up @@ -150,7 +150,7 @@ impl StartCommand {
opts.http.disable_dashboard = disable_dashboard;
}

if let Some(addr) = &self.grpc_addr {
if let Some(addr) = &self.rpc_addr {
opts.grpc.addr = addr.clone()
}

Expand Down

0 comments on commit e6b8682

Please sign in to comment.