mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
ws: remove unused MetricsConfig::active
This commit is contained in:
parent
56fafda234
commit
ac4f2ade5d
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue