Fixes the output of 'os-evacuate' command.

Change-Id: I5f02e66f316acdd10df42bec3f6628a8efe5fd97
Fixes: bug #1132790
This commit is contained in:
Alex Glikson 2013-02-25 06:35:27 +02:00
parent 34c8a6bb7a
commit feaff79919

@ -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)