diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-08-10 01:44:15 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-08-10 01:44:15 -0400 |
| commit | e68ace1d6f7cb6db842aae69faa89cb4679016e7 (patch) | |
| tree | 52bdc0ca92792a722882b3a27180fc54b5eecb41 /nova/api | |
| parent | c8a4a55437a332c49c7c1afc52a9c1c8bf93e593 (diff) | |
| download | nova-e68ace1d6f7cb6db842aae69faa89cb4679016e7.tar.gz nova-e68ace1d6f7cb6db842aae69faa89cb4679016e7.tar.xz nova-e68ace1d6f7cb6db842aae69faa89cb4679016e7.zip | |
added project_id for images requests
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/images.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py index 0aabb9e56..ea4209e16 100644 --- a/nova/api/openstack/images.py +++ b/nova/api/openstack/images.py @@ -169,7 +169,8 @@ class ControllerV11(Controller): def get_builder(self, request): """Property to get the ViewBuilder class we need to use.""" base_url = request.application_url - return images_view.ViewBuilderV11(base_url) + project_id = request.environ['nova.context'].project_id + return images_view.ViewBuilderV11(base_url, project_id) def index(self, req): """Return an index listing of images available to the request. |
