Skip to content

Commit 9bd665a

Browse files
committed
lints
1 parent ba11d7f commit 9bd665a

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

  • quickwit/quickwit-serve/src

quickwit/quickwit-serve/src/lib.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -680,13 +680,12 @@ pub async fn serve_quickwit(
680680

681681
// The control plane listens for local shards updates to learn about each shard's ingestion
682682
// throughput.
683-
let local_shards_update_listener_handle_opt = if node_config
684-
.is_service_enabled(QuickwitService::ControlPlane)
685-
{
686-
Some(setup_local_shards_update_listener(cluster.clone(), event_broker.clone()).await)
687-
} else {
688-
None
689-
};
683+
let local_shards_update_listener_handle_opt =
684+
if node_config.is_service_enabled(QuickwitService::ControlPlane) {
685+
Some(setup_local_shards_update_listener(cluster.clone(), event_broker.clone()).await)
686+
} else {
687+
None
688+
};
690689

691690
let report_splits_subscription_handle_opt =
692691
// DISCLAIMER: This is quirky here: We base our decision to forward the split report depending

0 commit comments

Comments
 (0)