Permalink
Browse files

Merge "Remove unnecessary set_acl calls"

  • Loading branch information...
2 parents eed7baf + 4e4092e commit 46d38734ec179298624144cbbffe8e357ecc2c14 Jenkins committed with openstack-gerrit Oct 8, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 glance/api/v2/images.py
View
@@ -105,7 +105,6 @@ def create(self, req, image):
else:
image['tags'] = []
- v2.update_image_read_acl(req, self.store_api, self.db_api, image)
image = self._normalize_properties(dict(image))
self.notifier.info('image.update', image)
return image
@@ -177,8 +176,6 @@ def update(self, req, image_id, changes):
raise webob.exc.HTTPNotFound()
image = self._normalize_properties(dict(image))
- v2.update_image_read_acl(req, self.store_api, self.db_api, image)
-
if tags is not None:
self.db_api.image_tag_set_all(req.context, image_id, tags)
image['tags'] = tags

0 comments on commit 46d3873

Please sign in to comment.