mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-04 17:23:45 -05:00
improve account and tenant selection error handling (#17476)
* improve account/tenant selection error handling * remove extra space from user string
This commit is contained in:
@@ -51,7 +51,7 @@ export type AzureProduct = azureResource.AzureGraphResource;
|
||||
|
||||
export async function getResourceGroups(account: azdata.Account, subscription: Subscription): Promise<azureResource.AzureResourceResourceGroup[]> {
|
||||
const api = await getAzureCoreAPI();
|
||||
const result = await api.getResourceGroups(account, subscription, false);
|
||||
const result = await api.getResourceGroups(account, subscription, true);
|
||||
sortResourceArrayByName(result.resourceGroups);
|
||||
return result.resourceGroups;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user