From 40047485047c68ae78cdc780a91728de323f18c3 Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 26 Oct 2018 14:54:26 +0200 Subject: [PATCH] fix minor error Change-Id: Id1e90d7e45a78c45d6c1e2720f3688a79d43941d Signed-off-by: tierno --- n2vc/vnf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n2vc/vnf.py b/n2vc/vnf.py index a60f36c..e03cca9 100644 --- a/n2vc/vnf.py +++ b/n2vc/vnf.py @@ -893,11 +893,11 @@ class N2VC: params = {} for parameter in parameters: param = str(parameter['name']) + value = None # Typecast parameter value, if present if 'data-type' in parameter: paramtype = str(parameter['data-type']).lower() - value = None if paramtype == "integer": value = int(parameter['value']) -- 2.25.1