diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-07 18:10:19 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-07 18:10:19 +0200 |
commit | 107853334bd045e145e3149c63172a9c0260b8db (patch) | |
tree | 8ca2d994de724b7ceb06be09112b803dc2932caf | |
parent | 14492044394a875475b2159d51234ac1e35531bf (diff) | |
download | garage-107853334bd045e145e3149c63172a9c0260b8db.tar.gz garage-107853334bd045e145e3149c63172a9c0260b8db.zip |
Fix build error
-rw-r--r-- | src/garage/server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs index 3c96ff22..aeef02a2 100644 --- a/src/garage/server.rs +++ b/src/garage/server.rs @@ -115,7 +115,7 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> { } #[cfg(not(feature = "metrics"))] - if config.admin_api.metrics_token.is_some() { + if config.admin.metrics_token.is_some() { warn!("This Garage version is built without the metrics feature"); } |