aboutsummaryrefslogtreecommitdiff
path: root/src/membership.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/membership.rs')
-rw-r--r--src/membership.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/membership.rs b/src/membership.rs
index e2f4bb90..08dd5f2f 100644
--- a/src/membership.rs
+++ b/src/membership.rs
@@ -198,7 +198,7 @@ impl Ring {
self.walk_ring_from_pos(start, n)
}
- pub fn walk_ring_from_pos(&self, start: usize, n: usize) -> Vec<UUID> {
+ fn walk_ring_from_pos(&self, start: usize, n: usize) -> Vec<UUID> {
if n >= self.config.members.len() {
return self.config.members.keys().cloned().collect::<Vec<_>>();
}