diff options
author | Alex Auvolat <alex@adnab.me> | 2024-09-22 13:47:27 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-09-22 13:47:27 +0200 |
commit | 34453bc9c2cff8c5ccafdbb163f01ce4c6bae043 (patch) | |
tree | a5f77f03249492022467392d6eb99deb36eff0d7 /src/rpc/layout/mod.rs | |
parent | 6da135354135d8d8a5d2476bfbcd4aab91abfc3c (diff) | |
download | garage-fix-skip-dead-nodes.tar.gz garage-fix-skip-dead-nodes.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.rs | 2 |
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)) |