Skip to content

Commit 706183b

Browse files
mayastor-borstiagolobocastro
mayastor-bors
andcommitted
Merge #1766
1766: fix(cli): add missing arguments for grpc ip&port r=tiagolobocastro a=tiagolobocastro Co-authored-by: Tiago Castro <tiagolobocastro@gmail.com>
2 parents 9d9c774 + f7a026e commit 706183b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

io-engine/src/core/env.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ pub struct MayastorCliArgs {
141141
#[deprecated = "Use grpc_ip and grpc_port instead"]
142142
/// IP address and port (optional) for the gRPC server to listen on.
143143
pub deprecated_grpc_endpoint: Option<String>,
144-
#[clap(default_value_t = std::net::IpAddr::V6(std::net::Ipv6Addr::UNSPECIFIED))]
144+
#[clap(long, default_value_t = std::net::IpAddr::V6(std::net::Ipv6Addr::UNSPECIFIED))]
145145
/// IP address for the gRPC server to listen on.
146146
pub grpc_ip: std::net::IpAddr,
147-
#[clap(default_value_t = 10124)]
147+
#[clap(long, default_value_t = 10124)]
148148
/// Port for the gRPC server to listen on.
149149
pub grpc_port: u16,
150150
#[clap(short = 'R')]

0 commit comments

Comments
 (0)