refactor: allow unused variable warning for db_pool in build_provider_registry

This commit is contained in:
2026-03-16 04:41:08 +01:00
parent 6aa86b6666
commit 7244349e97

View File

@@ -21,6 +21,7 @@ pub struct ProviderBundle {
pub async fn build_provider_registry(
config: &Config,
#[cfg_attr(not(feature = "local-files"), allow(unused_variables))]
db_pool: &Arc<DatabasePool>,
provider_config_repo: &Arc<dyn ProviderConfigRepository>,
) -> anyhow::Result<ProviderBundle> {