Merge "Fix server evacuate command"
This commit is contained in:
commit
f1cb66a476
@ -3417,7 +3417,7 @@ host.""")
|
|||||||
server = utils.find_resource(
|
server = utils.find_resource(
|
||||||
compute_client.servers, parsed_args.server)
|
compute_client.servers, parsed_args.server)
|
||||||
|
|
||||||
server = server.evacuate(**kwargs)
|
server.evacuate(**kwargs)
|
||||||
|
|
||||||
if parsed_args.wait:
|
if parsed_args.wait:
|
||||||
if utils.wait_for_status(
|
if utils.wait_for_status(
|
||||||
@ -3432,7 +3432,7 @@ host.""")
|
|||||||
raise SystemExit
|
raise SystemExit
|
||||||
|
|
||||||
details = _prep_server_detail(
|
details = _prep_server_detail(
|
||||||
compute_client, image_client, server, refresh=False)
|
compute_client, image_client, server, refresh=True)
|
||||||
return zip(*sorted(details.items()))
|
return zip(*sorted(details.items()))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user