aboutsummaryrefslogtreecommitdiff
path: root/src/garage/server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/garage/server.rs')
-rw-r--r--src/garage/server.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs
index 52d03464..2b618c1a 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -61,7 +61,11 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> {
garage
.system
.clone()
- .bootstrap(&garage.config.bootstrap_peers[..])
+ .bootstrap(
+ &garage.config.bootstrap_peers[..],
+ garage.config.consul_host.clone(),
+ garage.config.consul_service_name.clone()
+ )
.map(|rv| {
info!("Bootstrap done");
Ok(rv)