aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMendes <mendes.oulamara@pm.me>2022-07-19 13:30:49 +0200
committerMendes <mendes.oulamara@pm.me>2022-07-19 13:30:49 +0200
commit7b2c065c826a1da54e6c31f76917cb431fd4023b (patch)
tree5c6cde73e82aef11e311af0f20758401110b28c1 /src
parent03e3a1bd153bf7c3bf13216964fb17463a26aaae (diff)
parent617f28bfa466d52fac7244f08b3a036ab4e8c9af (diff)
downloadgarage-7b2c065c826a1da54e6c31f76917cb431fd4023b.tar.gz
garage-7b2c065c826a1da54e6c31f76917cb431fd4023b.zip
Merge branch 'optimal-layout' of https://git.deuxfleurs.fr/Deuxfleurs/garage into optimal-layout
Diffstat (limited to 'src')
-rw-r--r--src/rpc/layout.rs4
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();