aboutsummaryrefslogtreecommitdiff
path: root/src/garage/server.rs
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2021-04-05 23:50:33 +0200
committerAlex <alex@adnab.me>2021-04-05 23:50:33 +0200
commit8225fa2e4b85349709f840df45b3ecc3bcfb8284 (patch)
treeb300d7e3df823a878686d71cf7e728aeca7e56cc /src/garage/server.rs
parent7d772737a58b3c8dce147e4704152e2e6471bd90 (diff)
parentab67bd88decc4f27876aaf7a1448070875c90258 (diff)
downloadgarage-8225fa2e4b85349709f840df45b3ecc3bcfb8284.tar.gz
garage-8225fa2e4b85349709f840df45b3ecc3bcfb8284.zip
Merge pull request 'Improved bootstraping procedure' (#56) from better_bootstrap into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/56
Diffstat (limited to 'src/garage/server.rs')
-rw-r--r--src/garage/server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs
index c45a69b8..feb858e4 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -52,7 +52,7 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> {
info!("Initializing Garage main data store...");
let garage = Garage::new(config.clone(), db, background, &mut rpc_server);
let bootstrap = garage.system.clone().bootstrap(
- &config.bootstrap_peers[..],
+ config.bootstrap_peers,
config.consul_host,
config.consul_service_name,
);