Fix bug Swift ACL which disappears on Glance v1 images
Currently, when we make an update on a public image, Swift ACL disappears.
This patch allows to avoid the ACL update if there is no change to the
is_public_attribute.
If an update is made on a Glance image without changing the public attribute
or location, then the function which modifies ACLS is not called, in order
to keep ACLS.
Reviewed: https:/ /review. openstack. org/320588 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=d719b3a1646 167e750b9920128 d57a7bca331d80
Committed: https:/
Submitter: Jenkins
Branch: master
commit d719b3a1646167e 750b9920128d57a 7bca331d80
Author: Nolwenn Cauchois <email address hidden>
Date: Tue May 24 17:01:03 2016 +0200
Fix bug Swift ACL which disappears on Glance v1 images
Currently, when we make an update on a public image, Swift ACL disappears. public_ attribute.
This patch allows to avoid the ACL update if there is no change to the
is_
If an update is made on a Glance image without changing the public attribute
or location, then the function which modifies ACLS is not called, in order
to keep ACLS.
Closes-Bug: 1584076
Change-Id: I21e9deb9105fae e87500998eff47c 6faa1d02914