Merge "Fixes the output of 'os-evacuate' command."

This commit is contained in:
Jenkins 2013-03-01 23:51:43 +00:00 committed by Gerrit Code Review
commit 39b6e00eed
1 changed files with 1 additions and 1 deletions

View File

@ -2921,7 +2921,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)