diff options
author | Mendes <mendes.oulamara@pm.me> | 2022-07-19 13:30:49 +0200 |
---|---|---|
committer | Mendes <mendes.oulamara@pm.me> | 2022-07-19 13:30:49 +0200 |
commit | 7b2c065c826a1da54e6c31f76917cb431fd4023b (patch) | |
tree | 5c6cde73e82aef11e311af0f20758401110b28c1 /src/rpc/layout.rs | |
parent | 03e3a1bd153bf7c3bf13216964fb17463a26aaae (diff) | |
parent | 617f28bfa466d52fac7244f08b3a036ab4e8c9af (diff) | |
download | garage-7b2c065c826a1da54e6c31f76917cb431fd4023b.tar.gz garage-7b2c065c826a1da54e6c31f76917cb431fd4023b.zip |
Merge branch 'optimal-layout' of https://git.deuxfleurs.fr/Deuxfleurs/garage into optimal-layout
Diffstat (limited to 'src/rpc/layout.rs')
-rw-r--r-- | src/rpc/layout.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rpc/layout.rs b/src/rpc/layout.rs index d0ee3463..40f97368 100644 --- a/src/rpc/layout.rs +++ b/src/rpc/layout.rs @@ -495,9 +495,7 @@ impl ClusterLayout { zone: _, capacity: Some(c), tags: _, - }) => { - *c - } + }) => *c, _ => 0, }) .collect(); |