Skip to content

Commit 9861d03

Browse files
remove variable (#197)
1 parent 986e3f0 commit 9861d03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AzureAppConfigurationImpl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
8484
#ffRefreshTimer: RefreshTimer;
8585

8686
// Key Vault references
87-
#resolveSecretInParallel: boolean = false;
87+
#resolveSecretsInParallel: boolean = false;
8888

8989
/**
9090
* Selectors of key-values obtained from @see AzureAppConfigurationOptions.selectors
@@ -167,7 +167,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
167167
}
168168

169169
if (options?.keyVaultOptions?.parallelSecretResolutionEnabled) {
170-
this.#resolveSecretInParallel = options.keyVaultOptions.parallelSecretResolutionEnabled;
170+
this.#resolveSecretsInParallel = options.keyVaultOptions.parallelSecretResolutionEnabled;
171171
}
172172

173173
this.#adapters.push(new AzureKeyVaultKeyValueAdapter(options?.keyVaultOptions));
@@ -503,7 +503,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
503503

504504
const secretResolutionPromises: Promise<void>[] = [];
505505
for (const setting of loadedSettings) {
506-
if (this.#resolveSecretInParallel && isSecretReference(setting)) {
506+
if (this.#resolveSecretsInParallel && isSecretReference(setting)) {
507507
// secret references are resolved asynchronously to improve performance
508508
const secretResolutionPromise = this.#processKeyValue(setting)
509509
.then(([key, value]) => {

0 commit comments

Comments
 (0)