mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Bulk pep8 fixes - hand crafted (#33690)
* Bulk pep8 fixes - hand crafted Fix by hand the remaining issues that autopep8 couldn't * Next batch of hand crafted pep8 fixes * Ignore W503 https://github.com/PyCQA/pycodestyle/pull/499 * Revert more of W503
This commit is contained in:
committed by
Toshio Kuratomi
parent
bcd189509e
commit
18529a275b
@@ -453,7 +453,7 @@ class AzureRMNetworkInterface(AzureRMModuleBase):
|
||||
)
|
||||
]
|
||||
)
|
||||
#nic.name = self.name
|
||||
# nic.name = self.name
|
||||
nic.ip_configurations[0].subnet = Subnet(id=subnet.id)
|
||||
nic.ip_configurations[0].name = 'default'
|
||||
nic.network_security_group = NetworkSecurityGroup(id=nsg.id,
|
||||
@@ -483,7 +483,7 @@ class AzureRMNetworkInterface(AzureRMModuleBase):
|
||||
results['ip_configuration']['subnet']['name'])
|
||||
nic.ip_configurations[0].subnet = Subnet(id=subnet.id)
|
||||
nic.ip_configurations[0].name = results['ip_configuration']['name']
|
||||
#nic.name = name=results['name'],
|
||||
# nic.name = name=results['name'],
|
||||
|
||||
if results['ip_configuration'].get('private_ip_address'):
|
||||
nic.ip_configurations[0].private_ip_address = results['ip_configuration']['private_ip_address']
|
||||
|
||||
Reference in New Issue
Block a user