aboutsummaryrefslogtreecommitdiffstats
path: root/products
diff options
context:
space:
mode:
authorKanagaraj M <mkr1481@gmail.com>2019-10-22 05:50:33 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-10-22 05:54:34 +0530
commitcc0065bd6380763fd690f2e81a51fd369c599bf4 (patch)
tree6d1d0aded5052000ad760c39c6bfa67ec60acf2e /products
parent829420d7271a10b8d8a36298deaa4fc43fb144e6 (diff)
Fix bug in dublin command vnf provision
Issue-ID: CLI-164 Change-Id: Ib509e5b7632e1dafab3274b89cf0796300769663 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products')
-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