Fix client error while rescuing an instance

Typo server._info -> server

Closes-Bug: #1457983

Change-Id: I606505d73b3aae90bac636e960275926284b4ea6
This commit is contained in:
Amey Bhide 2015-05-22 10:04:19 -07:00
parent 29f29e44d3
commit 7ef9f97b95

View File

@ -1054,11 +1054,11 @@ class RescueServer(show.ShowOne):
self.log.debug('take_action(%s)', parsed_args)
compute_client = self.app.client_manager.compute
server = utils.find_resource(
_, body = utils.find_resource(
compute_client.servers,
parsed_args.server,
).rescue()
return zip(*sorted(six.iteritems(server._info)))
).rescue()
return zip(*sorted(six.iteritems(body)))
class ResizeServer(command.Command):