Skip to content

Commit

Permalink
fix(meta): temporarily does not require advertise_addr when using etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
lmatz committed Feb 6, 2023
1 parent 167afb3 commit 2dfa704
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/meta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ pub struct MetaNodeOpts {
/// or "identifying address".
/// It will serve as a unique identifier in cluster
/// membership and leader election. Must be specified for etcd backend.
#[clap(long, env = "RW_ADVERTISE_ADDR", required_if_eq("backend", "etcd"))]
/// TODO: After host is removed, we require that this parameter must be provided when using
/// etcd
#[clap(long, env = "RW_ADVERTISE_ADDR")]
advertise_addr: Option<String>,

#[clap(long, env = "RW_DASHBOARD_HOST")]
Expand Down

0 comments on commit 2dfa704

Please sign in to comment.