mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 18:46:17 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user