summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-dublin')
-rw-r--r--products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-lcm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-lcm.py b/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-lcm.py
index e6201714..d04d54a0 100644
--- a/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-lcm.py
+++ b/products/onap-dublin/features/integration/src/main/resources/script/vnf-tosca-lcm.py
@@ -689,7 +689,7 @@ if __name__ == '__main__':
config_file = args.config_file_path
with open(config_file) as json_file:
conf = json.load(json_file)
- if not conf['ONAP']['uid']:
+ if not 'uid' in conf['ONAP']:
conf['ONAP']['uid'] = ''.join(random.sample(string.ascii_lowercase,5))
if vsp_csar:
conf['vnf']['vsp-csar'] = vsp_csar