fix serving metrics on ee

This commit is contained in:
Ruben Fiszel
2023-08-20 19:40:50 +02:00
parent b7b2af2c25
commit fe99bcad6b
+1 -1
View File
@@ -249,7 +249,7 @@ Windmill Community Edition {GIT_VERSION}
panic!("Metrics are only available in the Enterprise Edition");
#[cfg(feature = "enterprise")]
windmill_common::serve_metrics(addr, rx.resubscribe(), num_workers > 0)
windmill_common::serve_metrics(_addr, rx.resubscribe(), num_workers > 0)
.await
.map_err(anyhow::Error::from)
}