refactor: allow unused variable warning for db_pool in build_provider_registry
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user