allow missing bootstrap_peers in garage.toml
This commit is contained in:
parent
da6efb4b23
commit
9d7535c3f5
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ pub struct Config {
|
||||||
pub rpc_public_addr: Option<SocketAddr>,
|
pub rpc_public_addr: Option<SocketAddr>,
|
||||||
|
|
||||||
/// Bootstrap peers RPC address
|
/// Bootstrap peers RPC address
|
||||||
#[serde(deserialize_with = "deserialize_vec_addr")]
|
#[serde(deserialize_with = "deserialize_vec_addr", default)]
|
||||||
pub bootstrap_peers: Vec<(NodeID, SocketAddr)>,
|
pub bootstrap_peers: Vec<(NodeID, SocketAddr)>,
|
||||||
/// Consul host to connect to to discover more peers
|
/// Consul host to connect to to discover more peers
|
||||||
pub consul_host: Option<String>,
|
pub consul_host: Option<String>,
|
||||||
|
|
Loading…
Reference in a new issue