summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYan Yang <yangyanyj@chinamobile.com>2018-11-24 05:28:50 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-24 05:28:50 +0000
commit82fc2f1d8085b864b40a569a5d1a7d13d22df662 (patch)
treed9ed54af473c128c0b53dfd65c3aa889b85d200c
parent097605916d5fc2d8bec4629838657f2b50f1753c (diff)
parentf94ab19601a848929e467c1a64d0c4e3c7a3505a (diff)
Merge "Fix vm status logger output" into casablanca
-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"]