Skip to content

Commit c702bc3

Browse files
committed
Update code style
1 parent 0b3cf7c commit c702bc3

File tree

1 file changed

+2
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/vm

1 file changed

+2
-1
lines changed

src/azure-cli/azure/cli/command_modules/vm/custom.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4353,7 +4353,8 @@ def list_vmss_instance_connection_info(cmd, resource_group_name, vm_scale_set_na
43534353
'Please use the "az network public-ip list/show" to retrieve networking information.')
43544354

43554355
# find the load balancer
4356-
nic_configs = vmss.get('virtualMachineProfile', {}).get('networkProfile', {}).get('networkInterfaceConfigurations', [])
4356+
nic_configs = \
4357+
vmss.get('virtualMachineProfile', {}).get('networkProfile', {}).get('networkInterfaceConfigurations', [])
43574358
primary_nic_config = next((n for n in nic_configs if n.get('primary')), None)
43584359
if primary_nic_config is None:
43594360
raise CLIError('could not find a primary NIC which is needed to search to load balancer')

0 commit comments

Comments
 (0)