Skip to content

Commit

Permalink
fix: bad if else
Browse files Browse the repository at this point in the history
  • Loading branch information
frankqianms committed Oct 24, 2024
1 parent 2d708fd commit 5a01dff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _prepare_apim(self):
apic_service = self.cmd('az apic show -g {rg} -n {s}').get_output_in_json()
self.kwargs.update({
'identity_id': apic_service['identity']['principalId']
}) if enable_system_assigned_identity
}) if enable_system_assigned_identity else None
# Create APIM service
apim_service = self.cmd('az apim create -g {rg} --name {apim_name} --publisher-name test --publisher-email test@example.com --sku-name Consumption').get_output_in_json()
# Add echo api
Expand Down

0 comments on commit 5a01dff

Please sign in to comment.