aboutsummaryrefslogtreecommitdiff
path: root/src/garage/server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-01-15 17:18:46 +0100
committerAlex Auvolat <alex@adnab.me>2024-01-15 17:18:46 +0100
commit7228695ee288012103355589caa1ab5dd666b164 (patch)
treeaddbc5e7b504ef6acdc4e56748b963e0dfe60518 /src/garage/server.rs
parentee7fe27d3d3cc473dcf9a4045b10a957382d4a7b (diff)
downloadgarage-7228695ee288012103355589caa1ab5dd666b164.tar.gz
garage-7228695ee288012103355589caa1ab5dd666b164.zip
config: refactor secret sourcing
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 96ea900d..25d4b845 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -15,9 +15,9 @@ use garage_web::WebServer;
use garage_api::k2v::api_server::K2VApiServer;
use crate::admin::*;
+use crate::secrets::{fill_secrets, Secrets};
#[cfg(feature = "telemetry-otlp")]
use crate::tracing_setup::*;
-use crate::{fill_secrets, Secrets};
async fn wait_from(mut chan: watch::Receiver<bool>) {
while !*chan.borrow() {