summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/pub/vimapi
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-11-24 10:20:58 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-11-24 10:20:58 +0800
commit6f56c1b1f9080e19d6c93d87ee4505df5ee3c5ff (patch)
tree67e1a374b417a28f77c3143d6d26443c03f84cf5 /lcm/lcm/pub/vimapi
parentbcfaf700e2b64f20eb1dadb6b78473a76ea2bd80 (diff)
Fix vm status logger output
Change-Id: Ic52b317c602b5a24db55c1705bccb1aaeaef8626 Issue-ID: VFC-1163 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/lcm/pub/vimapi')
-rw-r--r--lcm/lcm/pub/vimapi/adaptor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/vimapi/adaptor.py b/lcm/lcm/pub/vimapi/adaptor.py
index c84c4a7f..bc71aac7 100644
--- 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", vim_id)
+ logger.debug("Vm(%s) is active", vm_id)
return
if vm_info["status"].upper() == "ERROR":
opt_vm_status = vm_info["status"]