diff options
author | Alex <alex@adnab.me> | 2024-01-16 11:33:27 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-01-16 11:33:27 +0000 |
commit | 707d85f60293099e75e5aa821c0ee66796fdaa5b (patch) | |
tree | 09f2dbdd30f8464c2d1f27532a690a46258aedb9 /src/garage/repair | |
parent | d91a1de7315373271bce72088a4c73007f2154e8 (diff) | |
parent | 4c5be79b8015510618ad1df7451c50e3f2659978 (diff) | |
download | garage-707d85f60293099e75e5aa821c0ee66796fdaa5b.tar.gz garage-707d85f60293099e75e5aa821c0ee66796fdaa5b.zip |
Merge pull request 'sync garage v0.9 with garage v0.8' (#657) from sync-08-09 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/657
Diffstat (limited to 'src/garage/repair')
-rw-r--r-- | src/garage/repair/offline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/repair/offline.rs b/src/garage/repair/offline.rs index f4edcf03..45024e71 100644 --- a/src/garage/repair/offline.rs +++ b/src/garage/repair/offline.rs @@ -6,7 +6,7 @@ use garage_util::error::*; use garage_model::garage::Garage; use crate::cli::structs::*; -use crate::{fill_secrets, Secrets}; +use crate::secrets::{fill_secrets, Secrets}; pub async fn offline_repair( config_file: PathBuf, @@ -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)?; |