From 617f28bfa466d52fac7244f08b3a036ab4e8c9af Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 5 May 2022 14:21:57 +0200 Subject: [PATCH] Correct small formatting issue --- src/rpc/layout.rs | 4 +--- 1 file changed, 1 insertion(+), 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();