Fix build error

This commit is contained in:
Alex 2022-09-07 18:10:19 +02:00
parent 1449204439
commit 107853334b
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -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");
}