From b4533be287fd0de3008b0363de8f2b8652c5793f Mon Sep 17 00:00:00 2001 From: Sicheng Pan Date: Mon, 30 Dec 2024 16:41:51 -0800 Subject: [PATCH] Fix lint --- rust/worker/src/compactor/compaction_manager.rs | 2 +- rust/worker/src/compactor/types.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/worker/src/compactor/compaction_manager.rs b/rust/worker/src/compactor/compaction_manager.rs index 4a2ed0a198e..d4839f94e47 100644 --- a/rust/worker/src/compactor/compaction_manager.rs +++ b/rust/worker/src/compactor/compaction_manager.rs @@ -328,7 +328,7 @@ impl Handler for CompactionManager { type Result = (); async fn handle( &mut self, - message: OneOffCompactionMessage, + _message: OneOffCompactionMessage, _ctx: &ComponentContext, ) { tracing::info!("CompactionManager: Performing compaction"); diff --git a/rust/worker/src/compactor/types.rs b/rust/worker/src/compactor/types.rs index 404b8ef7db9..80de3641588 100644 --- a/rust/worker/src/compactor/types.rs +++ b/rust/worker/src/compactor/types.rs @@ -13,5 +13,6 @@ pub struct ScheduledCompactionMessage {} #[derive(Clone, Debug)] pub struct OneOffCompactionMessage { + #[allow(dead_code)] pub collection_ids: Option>, }