Merge "Fixes the output of 'os-evacuate' command."
This commit is contained in:
commit
39b6e00eed
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user