diff options
author | Alex <alex@adnab.me> | 2024-09-22 12:01:49 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-09-22 12:01:49 +0000 |
commit | c731f0291a1eff1650fb6c648eb111a4b5e01516 (patch) | |
tree | a5f77f03249492022467392d6eb99deb36eff0d7 /src/rpc | |
parent | 6da135354135d8d8a5d2476bfbcd4aab91abfc3c (diff) | |
parent | 34453bc9c2cff8c5ccafdbb163f01ce4c6bae043 (diff) | |
download | garage-c731f0291a1eff1650fb6c648eb111a4b5e01516.tar.gz garage-c731f0291a1eff1650fb6c648eb111a4b5e01516.zip |
Merge pull request 'fix logic in `garage layout skip-dead-nodes` + fix typo (fix #879)' (#880) from fix-skip-dead-nodes into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/880
Diffstat (limited to 'src/rpc')
-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)) |