From: tierno Date: Fri, 22 Jul 2016 23:46:03 +0000 (+0200) Subject: fix a bug at getting VM console X-Git-Tag: v1.0.0~57 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=351863cdcf764f5c71974c18f998a281aaf14656;p=osm%2FRO.git fix a bug at getting VM console Change-Id: I3fc83a3143279c5764c996e26968bbf94b994b67 Signed-off-by: tierno --- 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