Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Fix url base flag and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
msxichen committed May 26, 2020
1 parent 7dbc4bd commit b8bde40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/azgenerator/TemplateAzureCliClientFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function GenerateAzureCliClientFactory(model: CodeModelAz) : string[] {
output.push(" from azure.cli.core.commands.client_factory import get_mgmt_service_client");
output.push(" from ..vendored_sdks." + model.PythonOperationsName + " import " + model.PythonMgmtClient);

if (model.Extension_ClientSubscriptionBound || model.Extension_ClientBaseUrlBound)
if (model.Extension_ClientSubscriptionBound != undefined || model.Extension_ClientBaseUrlBound != undefined)
{
output.push(" return get_mgmt_service_client(cli_ctx, " + model.PythonMgmtClient + ",");
output.push(" subscription_bound=" + (model.Extension_ClientSubscriptionBound ? "True" : "False") + ",");
Expand Down

0 comments on commit b8bde40

Please sign in to comment.