chore: fix clippy when remote flag is not set (#2943)

Also add a step in CI to ensure this does not happen in the future
This commit is contained in:
Jack Ye
2026-01-26 13:59:31 -08:00
committed by GitHub
parent 12a98479dc
commit 7bf020b3d5
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -48,6 +48,8 @@ jobs:
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --profile ci --workspace --tests --all-features -- -D warnings
- name: Run clippy (without remote feature)
run: cargo clippy --profile ci --workspace --tests -- -D warnings
build-no-lock:
runs-on: ubuntu-24.04
+1
View File
@@ -892,6 +892,7 @@ pub struct ConnectBuilder {
embedding_registry: Option<Arc<dyn EmbeddingRegistry>>,
}
#[cfg(feature = "remote")]
const ENV_VARS_TO_STORAGE_OPTS: [(&str, &str); 1] =
[("AZURE_STORAGE_ACCOUNT_NAME", "azure_storage_account_name")];