Merge "Fix and avoid an erroneous heat API call"
This commit is contained in:
commit
f37f0ddfca
@ -415,6 +415,9 @@ class FenixPlugin(object):
|
|||||||
return attrs
|
return attrs
|
||||||
|
|
||||||
instances = []
|
instances = []
|
||||||
|
if not vnf_dict['instance_id']:
|
||||||
|
return instances
|
||||||
|
|
||||||
client = self._get_openstack_clients(context, vnf_dict)
|
client = self._get_openstack_clients(context, vnf_dict)
|
||||||
resources = client.heat.resources.list(vnf_dict['instance_id'],
|
resources = client.heat.resources.list(vnf_dict['instance_id'],
|
||||||
nested_depth=2)
|
nested_depth=2)
|
||||||
|
Loading…
Reference in New Issue
Block a user