Test if property is a get_input before treating it as such
Change-Id: I353b738e728073fd197faca33b5702b95d0ab3e4
This commit is contained in:
parent
0640edfa3b
commit
b154640433
|
@ -98,7 +98,8 @@ class TOSCATranslator(object):
|
|||
def _resolve_input(self):
|
||||
for n in self.tosca.nodetemplates:
|
||||
for node_prop in n.get_properties_objects():
|
||||
if isinstance(node_prop.value, dict):
|
||||
if isinstance(node_prop.value, dict) \
|
||||
and 'get_input' in node_prop.value:
|
||||
try:
|
||||
self.parsed_params[node_prop.value['get_input']]
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in New Issue