From ac4f2ade5d17977b868b21d1b4d706a22f68560c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Tue, 17 Jan 2023 21:33:24 +0100 Subject: [PATCH] ws: remove unused MetricsConfig::active --- aquatic_ws/src/config.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/aquatic_ws/src/config.rs b/aquatic_ws/src/config.rs index 6c46e33..482a2ec 100644 --- a/aquatic_ws/src/config.rs +++ b/aquatic_ws/src/config.rs @@ -169,13 +169,6 @@ impl Default for MetricsConfig { } } -#[cfg(feature = "metrics")] -impl MetricsConfig { - pub fn active(&self) -> bool { - self.run_prometheus_endpoint - } -} - #[cfg(test)] mod tests { use super::Config;