diff options
Diffstat (limited to 'src/garage')
-rw-r--r-- | src/garage/server.rs | 6 |
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) |