From feaff79919bc2d99cb190fedf140c3c30db2ba99 Mon Sep 17 00:00:00 2001 From: Alex Glikson <glikson@il.ibm.com> Date: Mon, 25 Feb 2013 06:35:27 +0200 Subject: [PATCH] Fixes the output of 'os-evacuate' command. Change-Id: I5f02e66f316acdd10df42bec3f6628a8efe5fd97 Fixes: bug #1132790 --- novaclient/v1_1/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novaclient/v1_1/shell.py b/novaclient/v1_1/shell.py index 260581115..bb36abaac 100644 --- a/novaclient/v1_1/shell.py +++ b/novaclient/v1_1/shell.py @@ -2909,7 +2909,7 @@ def do_evacuate(cs, args): """Evacuate server from failed host to specified one.""" server = _find_server(cs, args.server) - res = server.evacuate(args.host, args.on_shared_storage, args.password)[0] + res = server.evacuate(args.host, args.on_shared_storage, args.password)[1] if type(res) is dict: utils.print_dict(res)