From 9bbe6bc9fd798223b20daf92d4ef04f43e2a238d Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Wed, 14 May 2025 15:30:50 +0800 Subject: [PATCH] remove variable --- src/AzureAppConfigurationImpl.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AzureAppConfigurationImpl.ts b/src/AzureAppConfigurationImpl.ts index f3c84061..5d356af0 100644 --- a/src/AzureAppConfigurationImpl.ts +++ b/src/AzureAppConfigurationImpl.ts @@ -84,7 +84,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration { #ffRefreshTimer: RefreshTimer; // Key Vault references - #resolveSecretInParallel: boolean = false; + #resolveSecretsInParallel: boolean = false; /** * Selectors of key-values obtained from @see AzureAppConfigurationOptions.selectors @@ -167,7 +167,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration { } if (options?.keyVaultOptions?.parallelSecretResolutionEnabled) { - this.#resolveSecretInParallel = options.keyVaultOptions.parallelSecretResolutionEnabled; + this.#resolveSecretsInParallel = options.keyVaultOptions.parallelSecretResolutionEnabled; } this.#adapters.push(new AzureKeyVaultKeyValueAdapter(options?.keyVaultOptions)); @@ -503,7 +503,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration { const secretResolutionPromises: Promise[] = []; for (const setting of loadedSettings) { - if (this.#resolveSecretInParallel && isSecretReference(setting)) { + if (this.#resolveSecretsInParallel && isSecretReference(setting)) { // secret references are resolved asynchronously to improve performance const secretResolutionPromise = this.#processKeyValue(setting) .then(([key, value]) => {