Skip to content

Commit 11b648c

Browse files
update
1 parent bb180c2 commit 11b648c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AzureAppConfigurationImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
321321
*/
322322
async refresh(): Promise<void> {
323323
if (!this.#refreshEnabled && !this.#featureFlagRefreshEnabled && !this.#secretRefreshEnabled) {
324-
throw new InvalidOperationError("Refresh is not enabled for key-values, key vault secrets or feature flags.");
324+
throw new InvalidOperationError("Refresh is not enabled for key-values, feature flags or Key Vault secrets.");
325325
}
326326

327327
if (this.#refreshInProgress) {

src/IKeyValueAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ export interface IKeyValueAdapter {
1717
/**
1818
* This method is called when a change is detected in the configuration setting.
1919
*/
20-
onChangeDetected(setting?: ConfigurationSetting): void;
20+
onChangeDetected(setting?: ConfigurationSetting): Promise<void>;
2121
}

0 commit comments

Comments
 (0)