summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2011-01-26 10:16:16 -0600
committerSandy Walsh <sandy.walsh@rackspace.com>2011-01-26 10:16:16 -0600
commit8dceebdf9ebce6aa94124504564b395b11c55682 (patch)
treedb9618abe6bdfbd4b20fb12b5bab677874703470 /nova/api
parentf04b58b1eacccf29162d9898e428ae84a62b3d9c (diff)
downloadnova-8dceebdf9ebce6aa94124504564b395b11c55682.tar.gz
nova-8dceebdf9ebce6aa94124504564b395b11c55682.tar.xz
nova-8dceebdf9ebce6aa94124504564b395b11c55682.zip
Added missing int to string conversion
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/servers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index 9d308ea24..17c5519a1 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -138,6 +138,7 @@ class Controller(wsgi.Controller):
_("%(param)s property not found for image %(_image_id)s") %
locals())
+ image_id = str(image_id)
image = self._image_service.show(req.environ['nova.context'], image_id)
return lookup('kernel_id'), lookup('ramdisk_id')