summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorDan Prince <dan.prince@rackspace.com>2011-07-19 15:51:45 -0400
committerDan Prince <dan.prince@rackspace.com>2011-07-19 15:51:45 -0400
commit4b4bebad3b44e7b55e55a005a3629aebf50ecfa2 (patch)
treed08fdec0b58eee8705575eeecd3089af0431134e /nova/api
parent77db06c908f9c08c80beb11241c0e23247129ad6 (diff)
Updates to the compute API and manager so that rebuild, reboot, snapshots,
and password resets work with the most recent versions of novaclient.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/servers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index 93f8e832c..e16221fd8 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -454,7 +454,7 @@ class ControllerV10(Controller):
def _action_rebuild(self, info, request, instance_id):
context = request.environ['nova.context']
- instance_id = int(instance_id)
+ instance_id = instance_id
try:
image_id = info["rebuild"]["imageId"]
@@ -569,7 +569,7 @@ class ControllerV11(Controller):
def _action_rebuild(self, info, request, instance_id):
context = request.environ['nova.context']
- instance_id = int(instance_id)
+ instance_id = instance_id
try:
image_href = info["rebuild"]["imageRef"]