Code Review
/
vfc
/
nfvo
/
lcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
92518a9
)
Refactor ns terminate of vfc-nfvo-lcm
13/25413/1
author
fujinhua
<fu.jinhua@zte.com.cn>
Mon, 4 Dec 2017 07:15:02 +0000
(15:15 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Mon, 4 Dec 2017 07:15:02 +0000
(15:15 +0800)
Change-Id: I396293b880a3f8744d09696019e06a9b38dcacb3
Issue-ID: VFC-608
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/ns/vnfs/terminate_nfs.py
patch
|
blob
|
history
diff --git
a/lcm/ns/vnfs/terminate_nfs.py
b/lcm/ns/vnfs/terminate_nfs.py
index
02dcc02
..
89d6de2
100644
(file)
--- a/
lcm/ns/vnfs/terminate_nfs.py
+++ b/
lcm/ns/vnfs/terminate_nfs.py
@@
-57,9
+57,9
@@
class TerminateVnfs(threading.Thread):
self.delete_data_from_db()
except NSLCMException as e:
self.set_job_err(e.message)
- except Exception:
+ except Exception
as ex
:
logger.error(traceback.format_exc())
- self.set_job_err(
'unexpected exception'
)
+ self.set_job_err(
ex.message
)
def set_vnf_status(self, vnf_inst_info):
vnf_status = vnf_inst_info.status