diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-05 14:21:57 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-05 14:21:57 +0200 |
commit | 617f28bfa466d52fac7244f08b3a036ab4e8c9af (patch) | |
tree | a2d50d81faf89a973e8cce5b76cc78206572c245 /src | |
parent | 948ff93cf10da1705766c2f0d256c316adcb806b (diff) | |
download | garage-617f28bfa466d52fac7244f08b3a036ab4e8c9af.tar.gz garage-617f28bfa466d52fac7244f08b3a036ab4e8c9af.zip |
Correct small formatting issue
Diffstat (limited to 'src')
-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(); |