]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: reindent the trace-related fragment of main() 46388/head
authorRadosław Zarzyński <rzarzyns@redhat.com>
Wed, 25 May 2022 08:36:42 +0000 (10:36 +0200)
committerRadosław Zarzyński <rzarzyns@redhat.com>
Wed, 25 May 2022 08:45:20 +0000 (10:45 +0200)
The issue is we're mixing tabs and spaces which affects readability
when the code is read on github during a review (like recently with
the PR #46296).

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
src/crimson/osd/main.cc

index 9076a58f3097af2a48264d80af9fa0c8fe8702ec..84ce1a1f94047877ddea980a26d53361e2659c0e 100644 (file)
@@ -222,11 +222,11 @@ int main(int argc, const char* argv[])
               seastar::log_level::debug
             );
           }
-         if (config.count("trace")) {
-           seastar::global_logger_registry().set_all_loggers_level(
+          if (config.count("trace")) {
+            seastar::global_logger_registry().set_all_loggers_level(
               seastar::log_level::trace
             );
-         }
+          }
           sharded_conf().start(init_params.name, cluster_name).get();
           auto stop_conf = seastar::defer([] {
             sharded_conf().stop().get();