Fix missing variable initialization so an unspecified internal_network runs
This commit is contained in:
parent
dc3d22cf0d
commit
5a170295ef
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue