]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common: fix a formatting nit in OpTracker::dump_ops_in_flight().
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 19 Jan 2021 16:05:47 +0000 (17:05 +0100)
committerKefu Chai <kchai@redhat.com>
Thu, 3 Jun 2021 06:47:39 +0000 (14:47 +0800)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/common/TrackedOp.cc

index f1b35e7e57aa5080810778ecca6411176aa8b38b..e81597012337e4d518b2a9ad0e8adee5b0ae68d4 100644 (file)
@@ -251,8 +251,9 @@ bool OpTracker::dump_ops_in_flight(Formatter *f, bool print_only_blocked, set<st
   if (print_only_blocked) {
     f->dump_float("complaint_time", complaint_time);
     f->dump_int("num_blocked_ops", total_ops_in_flight);
-  } else
+  } else {
     f->dump_int("num_ops", total_ops_in_flight);
+  }
   f->close_section(); // overall dump
   return true;
 }