Fix missing key error when updating existing virtual network.

reviewable/pr18780/r1
chouseknecht 9 years ago
parent ddb0b53c66
commit 97f16b52cf
No known key found for this signature in database
GPG Key ID: 78F1698C5705A81B

@ -333,7 +333,7 @@ class AzureRMVirtualNetwork(AzureRMModuleBase):
), ),
tags=results['tags'] tags=results['tags']
) )
if results['dns_servers']: if results.get('dns_servers'):
vnet.dhcp_options = DhcpOptions( vnet.dhcp_options = DhcpOptions(
dns_servers=results['dns_servers'] dns_servers=results['dns_servers']
) )

Loading…
Cancel
Save