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
(from parent 1:
bcfaf70
)
Fix vm status logger output
46/73446/1
author
fujinhua
<fu.jinhua@zte.com.cn>
Sat, 24 Nov 2018 02:20:58 +0000
(10:20 +0800)
committer
fujinhua
<fu.jinhua@zte.com.cn>
Sat, 24 Nov 2018 02:20:58 +0000
(10:20 +0800)
Change-Id: Ic52b317c602b5a24db55c1705bccb1aaeaef8626
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
lcm/lcm/pub/vimapi/adaptor.py
patch
|
blob
|
history
diff --git
a/lcm/lcm/pub/vimapi/adaptor.py
b/lcm/lcm/pub/vimapi/adaptor.py
index
c84c4a7
..
bc71aac
100644
(file)
--- a/
lcm/lcm/pub/vimapi/adaptor.py
+++ b/
lcm/lcm/pub/vimapi/adaptor.py
@@
-401,7
+401,7
@@
def create_vm(vim_cache, res_cache, data, vm, do_notify, res_type):
while retry_count < max_retry_count:
vm_info = api.get_vm(vim_id, tenant_id, vm_id)
if vm_info["status"].upper() == "ACTIVE":
- logger.debug("Vm(%s) is active", v
i
m_id)
+ logger.debug("Vm(%s) is active", vm_id)
return
if vm_info["status"].upper() == "ERROR":
opt_vm_status = vm_info["status"]