From e6b86826ab5b73206820c48806a69e318a3bc44a Mon Sep 17 00:00:00 2001 From: masonyc Date: Tue, 17 Oct 2023 09:39:38 +1300 Subject: [PATCH] fix: align frontend cmd name to rpc_* --- src/cmd/src/frontend.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/src/frontend.rs b/src/cmd/src/frontend.rs index c39ceb9ef564..f744c03ea589 100644 --- a/src/cmd/src/frontend.rs +++ b/src/cmd/src/frontend.rs @@ -89,7 +89,7 @@ pub struct StartCommand { #[clap(long)] http_timeout: Option, #[clap(long)] - grpc_addr: Option, + rpc_addr: Option, #[clap(long)] mysql_addr: Option, #[clap(long)] @@ -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() }