Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6340336
)
save flavor cannot get returnCode
23/58523/1
author
Huang Haibin
<haibin.huang@intel.com>
Tue, 24 Jul 2018 13:01:13 +0000
(21:01 +0800)
committer
Huang Haibin
<haibin.huang@intel.com>
Thu, 2 Aug 2018 00:51:01 +0000
(08:51 +0800)
Change-Id: I949eae10f5495900a7be575714a95bcb592cebaf
Issue-ID: VFC-972
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
lcm/lcm/nf/vnf_create/inst_vnf.py
patch
|
blob
|
history
diff --git
a/lcm/lcm/nf/vnf_create/inst_vnf.py
b/lcm/lcm/nf/vnf_create/inst_vnf.py
index
9ae2515
..
b87602c
100644
(file)
--- a/
lcm/lcm/nf/vnf_create/inst_vnf.py
+++ b/
lcm/lcm/nf/vnf_create/inst_vnf.py
@@
-338,7
+338,7
@@
def flavor_save(job_id, nf_inst_id, ret):
swap=get_integer(ignore_case_get(ret, "swap")),
isPublic=get_boolean(ignore_case_get(ret, "isPublic")),
extraspecs=ignore_case_get(ret, "extraSpecs"),
- is_predefined=
ignore_case_get(ret, "returnCode"
),
+ is_predefined=
ret.get("returnCode", int(0)
),
instid=nf_inst_id)