aboutsummaryrefslogtreecommitdiff
path: root/src/garage/repair
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-10-19 09:33:12 +0000
committerAlex <alex@adnab.me>2023-10-19 09:33:12 +0000
commit0215b114028c9a9987c1581e50820a42e069ffe5 (patch)
tree5d388a9643d5474b914b7f261c72c21142d8c592 /src/garage/repair
parente75fe2157d0973eb4320bbc87be5e54a1cb91a63 (diff)
parent8599051c492d7df22305e4c65659395d9102955c (diff)
downloadgarage-0215b114028c9a9987c1581e50820a42e069ffe5.tar.gz
garage-0215b114028c9a9987c1581e50820a42e069ffe5.zip
Merge pull request 'Add support for specifying `rpc_secret_file`, `metrics_token_file` and `admin_token_file` using environment variables' (#643) from networkException/garage:token-file-env into main-0.8.x
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/643
Diffstat (limited to 'src/garage/repair')
-rw-r--r--src/garage/repair/offline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/repair/offline.rs b/src/garage/repair/offline.rs
index f4edcf03..beb48d65 100644
--- a/src/garage/repair/offline.rs
+++ b/src/garage/repair/offline.rs
@@ -20,7 +20,7 @@ pub async fn offline_repair(
}
info!("Loading configuration...");
- let config = fill_secrets(read_config(config_file)?, secrets);
+ let config = fill_secrets(read_config(config_file)?, secrets)?;
info!("Initializing Garage main data store...");
let garage = Garage::new(config)?;