fix clippy

Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
junxiang Mu
2024-10-12 14:09:52 +08:00
parent adef6476ec
commit a0e37098bb
37 changed files with 322 additions and 384 deletions
+1 -1
View File
@@ -444,7 +444,7 @@ impl EndpointServerPools {
}
pub fn es_count(&self) -> usize {
self.0.iter().map(|v| v.set_count).count()
self.0.iter().map(|v| v.set_count).sum()
}
/// add pool endpoints