Skip to content

Commit

Permalink
Added case for Sec and Nat
Browse files Browse the repository at this point in the history
  • Loading branch information
vkelkar1999 committed Aug 31, 2023
1 parent e0444cb commit 28e76cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/azurecore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"default": false,
"description": "%config.enableChinaCloudDescription%"
},
"accounts.azure.cloud.enableUSSecCloud": {
"accounts.azure.cloud.enableUsSecCloud": {
"type": "boolean",
"default": false,
"description": "%config.enableUsSecCloudDescription%"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ export class AzureAccountProviderService implements vscode.Disposable {
}

// Case 4: Provider was added from JSON - register provider
if (provider.configKey !== Constants.enablePublicCloud && provider.configKey !== Constants.enableUsGovCloud && provider.configKey !== Constants.enableChinaCloud) {
if (provider.configKey !== Constants.enablePublicCloud && provider.configKey !== Constants.enableUsGovCloud && provider.configKey !== Constants.enableChinaCloud
&& provider.configKey !== Constants.enableUsSecCloud && provider.configKey !== Constants.enableUsNatCloud) {
providerChanges.push(this.registerAccountProvider(provider));
this.activeProviderCount++;
}
Expand Down

0 comments on commit 28e76cf

Please sign in to comment.