1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix missing variable initialization so an unspecified internal_network runs

This commit is contained in:
Carson Gee 2014-05-13 09:56:13 -04:00
parent 41169666b0
commit e6fbd2d8cb

View file

@ -142,6 +142,7 @@ def _get_server_state(module, nova):
return server_info, server
def _get_port_info(neutron, module, instance_id, internal_network_name=None):
subnet_id = None
if internal_network_name:
kwargs = {
'name': internal_network_name,