Skip to content

Commit

Permalink
Merge #1766
Browse files Browse the repository at this point in the history
1766: fix(cli): add missing arguments for grpc ip&port r=tiagolobocastro a=tiagolobocastro



Co-authored-by: Tiago Castro <[email protected]>
  • Loading branch information
mayastor-bors and tiagolobocastro committed Oct 30, 2024
2 parents 9d9c774 + f7a026e commit 706183b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io-engine/src/core/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ pub struct MayastorCliArgs {
#[deprecated = "Use grpc_ip and grpc_port instead"]
/// IP address and port (optional) for the gRPC server to listen on.
pub deprecated_grpc_endpoint: Option<String>,
#[clap(default_value_t = std::net::IpAddr::V6(std::net::Ipv6Addr::UNSPECIFIED))]
#[clap(long, default_value_t = std::net::IpAddr::V6(std::net::Ipv6Addr::UNSPECIFIED))]
/// IP address for the gRPC server to listen on.
pub grpc_ip: std::net::IpAddr,
#[clap(default_value_t = 10124)]
#[clap(long, default_value_t = 10124)]
/// Port for the gRPC server to listen on.
pub grpc_port: u16,
#[clap(short = 'R')]
Expand Down

0 comments on commit 706183b

Please sign in to comment.