diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-11-05 16:36:25 +0100 |
---|---|---|
committer | Trinity Pointard <trinity.pointard@gmail.com> | 2021-11-05 16:36:25 +0100 |
commit | 9d7535c3f5364424a438b175b57c7873ad809c58 (patch) | |
tree | 292f5d6fe949ead325eb01647bdcdc556d7728b0 /src | |
parent | da6efb4b239ebf717e4c30f8e3592b283603d6e6 (diff) | |
download | garage-9d7535c3f5364424a438b175b57c7873ad809c58.tar.gz garage-9d7535c3f5364424a438b175b57c7873ad809c58.zip |
allow missing bootstrap_peers in garage.toml
Diffstat (limited to 'src')
-rw-r--r-- | src/util/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index f1c5c019..0e4c76ae 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -39,7 +39,7 @@ pub struct Config { pub rpc_public_addr: Option<SocketAddr>, /// Bootstrap peers RPC address - #[serde(deserialize_with = "deserialize_vec_addr")] + #[serde(deserialize_with = "deserialize_vec_addr", default)] pub bootstrap_peers: Vec<(NodeID, SocketAddr)>, /// Consul host to connect to to discover more peers pub consul_host: Option<String>, |