From b13f44ca6153689e64a668cb9709ee1226e4499a Mon Sep 17 00:00:00 2001 From: Benny Halevy Date: Thu, 19 May 2022 13:20:02 +0300 Subject: [PATCH] replica: distributed_loader: reindent reshape Signed-off-by: Benny Halevy --- replica/distributed_loader.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/replica/distributed_loader.cc b/replica/distributed_loader.cc index b18877274b..87426e9e40 100644 --- a/replica/distributed_loader.cc +++ b/replica/distributed_loader.cc @@ -245,11 +245,11 @@ distributed_loader::reshape(sharded& dir, sharded()); - // FIXME: indentation - if (total_size > 0) { - auto duration = std::chrono::duration_cast>(std::chrono::steady_clock::now() - start); - dblog.info("{}", fmt::format("Reshaped {} in {:.2f} seconds, {}", sstables::pretty_printed_data_size(total_size), duration.count(), sstables::pretty_printed_throughput(total_size, duration))); - } + + if (total_size > 0) { + auto duration = std::chrono::duration_cast>(std::chrono::steady_clock::now() - start); + dblog.info("{}", fmt::format("Reshaped {} in {:.2f} seconds, {}", sstables::pretty_printed_data_size(total_size), duration.count(), sstables::pretty_printed_throughput(total_size, duration))); + } } // Loads SSTables into the main directory (or staging) and returns how many were loaded