From 351863cdcf764f5c71974c18f998a281aaf14656 Mon Sep 17 00:00:00 2001 From: tierno Date: Sat, 23 Jul 2016 01:46:03 +0200 Subject: [PATCH] fix a bug at getting VM console Change-Id: I3fc83a3143279c5764c996e26968bbf94b994b67 Signed-off-by: tierno --- nfvo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfvo.py b/nfvo.py index 9c6dace5..b358ea84 100644 --- a/nfvo.py +++ b/nfvo.py @@ -1796,9 +1796,9 @@ def instance_action(mydb,nfvo_tenant,instance_id, action_dict): vm_error+=1 if vm_ok==0: #all goes wrong - return 1, vm_result + return vm_result else: - return 1, vm_result + return vm_result def create_or_use_console_proxy_thread(console_server, console_port): #look for a non-used port -- 2.25.1