Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Allow multiple P2P discovery addresses in env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tuommaki committed Mar 25, 2024
1 parent c17a942 commit 5ba8e10
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/node/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ pub struct Config {
)]
pub node_key_file: PathBuf,

#[arg(long, long_help = "", env = "GEVULOT_P2P_DISCOVERY_ADDR")]
#[arg(
long,
long_help = "",
value_delimiter = ',',
env = "GEVULOT_P2P_DISCOVERY_ADDR"
)]
pub p2p_discovery_addrs: Vec<String>,

#[arg(
Expand Down

0 comments on commit 5ba8e10

Please sign in to comment.