fix lint errors

This commit is contained in:
Zhijun Zhao 2017-12-28 18:54:38 +08:00 committed by Matt Davis
parent 1fecb6f923
commit f0198cc39a
5 changed files with 26 additions and 25 deletions

View file

@ -238,8 +238,8 @@ class AzureRMSubnet(AzureRMModuleBase):
)
if nsg:
subnet.network_security_group = self.network_models.NetworkSecurityGroup(id=nsg.id,
location=nsg.location,
resource_guid=nsg.resource_guid)
location=nsg.location,
resource_guid=nsg.resource_guid)
else:
# update subnet
@ -250,8 +250,8 @@ class AzureRMSubnet(AzureRMModuleBase):
if results['network_security_group'].get('id'):
nsg = self.get_security_group(results['network_security_group']['name'])
subnet.network_security_group = self.network_models.NetworkSecurityGroup(id=nsg.id,
location=nsg.location,
resource_guid=nsg.resource_guid)
location=nsg.location,
resource_guid=nsg.resource_guid)
self.results['state'] = self.create_or_update_subnet(subnet)
elif self.state == 'absent':