mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07: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:
parent
bcd189509e
commit
18529a275b
21 changed files with 57 additions and 87 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue