aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/layout/mod.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-09-22 13:47:27 +0200
committerAlex Auvolat <alex@adnab.me>2024-09-22 13:47:27 +0200
commit34453bc9c2cff8c5ccafdbb163f01ce4c6bae043 (patch)
treea5f77f03249492022467392d6eb99deb36eff0d7 /src/rpc/layout/mod.rs
parent6da135354135d8d8a5d2476bfbcd4aab91abfc3c (diff)
downloadgarage-34453bc9c2cff8c5ccafdbb163f01ce4c6bae043.tar.gz
garage-34453bc9c2cff8c5ccafdbb163f01ce4c6bae043.zip
fix logic in `garage layout skip-dead-nodes` + fix typo (fix #879)fix-skip-dead-nodes
Diffstat (limited to 'src/rpc/layout/mod.rs')
-rw-r--r--src/rpc/layout/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/layout/mod.rs b/src/rpc/layout/mod.rs
index 33676c37..aafdea46 100644
--- a/src/rpc/layout/mod.rs
+++ b/src/rpc/layout/mod.rs
@@ -455,7 +455,7 @@ impl UpdateTracker {
}
}
- pub(crate) fn min_among(&self, storage_nodes: &[Uuid], min_version: u64) -> u64 {
+ pub fn min_among(&self, storage_nodes: &[Uuid], min_version: u64) -> u64 {
storage_nodes
.iter()
.map(|x| self.get(x, min_version))