Fix build error

This commit is contained in:
Alex Auvolat 2022-09-07 18:10:19 +02:00
parent 1449204439
commit 107853334b
No known key found for this signature in database
GPG Key ID: 0E496D15096376BE

View File

@ -115,7 +115,7 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> {
} }
#[cfg(not(feature = "metrics"))] #[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"); warn!("This Garage version is built without the metrics feature");
} }