projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e2d7d
)
fix minor error
69/6769/1
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Fri, 26 Oct 2018 12:54:26 +0000
(14:54 +0200)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Fri, 26 Oct 2018 12:54:26 +0000
(14:54 +0200)
Change-Id: Id1e90d7e45a78c45d6c1e2720f3688a79d43941d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
n2vc/vnf.py
patch
|
blob
|
history
diff --git
a/n2vc/vnf.py
b/n2vc/vnf.py
index
a60f36c
..
e03cca9
100644
(file)
--- 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'])