Skip to content

Commit

Permalink
Fix never-used warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Jun 24, 2024
1 parent ac32fd6 commit 93cce59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quickwit/quickwit-indexing/src/source/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ mod kafka_source;
mod kinesis;
#[cfg(feature = "pulsar")]
mod pulsar_source;
#[cfg(feature = "sqs")]
mod queue_sources;
mod source_factory;
mod vec_source;
Expand Down Expand Up @@ -670,7 +671,8 @@ mod tests {
}
}

pub(crate) async fn setup_index(
#[cfg(any(feature = "sqs-localstack-tests", feature = "kafka-broker-tests"))]
pub async fn setup_index(
mut metastore: MetastoreServiceClient,
index_id: &str,
source_config: &SourceConfig,
Expand Down

0 comments on commit 93cce59

Please sign in to comment.