aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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");
}