mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Handle out of sync extension activations for encryption keys updated event (#22415)
This commit is contained in:
@@ -241,7 +241,13 @@ export async function activate(context: vscode.ExtensionContext): Promise<azurec
|
||||
query: string): Promise<azurecore.ResourceQueryResult<T>> {
|
||||
return azureResourceUtils.runResourceQuery(account, subscriptions, ignoreErrors, query);
|
||||
},
|
||||
onEncryptionKeysUpdated: eventEmitter!.event
|
||||
onEncryptionKeysUpdated: eventEmitter!.event,
|
||||
async getEncryptionKeys(): Promise<azurecore.CacheEncryptionKeys> {
|
||||
if (!providerService) {
|
||||
throw new Error("Failed to initialize Azure account provider.");
|
||||
}
|
||||
return await providerService!.getEncryptionKeys();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user