Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge "Remove unnecessary set_acl calls"

  • Loading branch information...
commit 46d38734ec179298624144cbbffe8e357ecc2c14 2 parents eed7baf + 4e4092e
Jenkins authored openstack-gerrit committed
Showing with 0 additions and 3 deletions.
  1. +0 −3  glance/api/v2/images.py
View
3  glance/api/v2/images.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.