commit 18acc704a1573346f751a2b8260720fd09e664cd
Author: Ian Cordasco <email address hidden>
Date: Fri Jan 20 19:21:52 2017 +0000
Fix regression introduced by Community Images
Updating an image in v1 skipped the work to ensure that the image dictionary
would be Image v2 compliant. It was hidden inside an else clause and was only
run when there was no image id provided. This meant that only sometimes would
is_public be appropriately converted to visibility.
A functional test has been added to prevent regression and the code has been
mildly altered to fix the issue.
Reviewed: https:/ /review. openstack. org/423499 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=18acc704a15 73346f751a2b826 0720fd09e664cd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 18acc704a157334 6f751a2b8260720 fd09e664cd
Author: Ian Cordasco <email address hidden>
Date: Fri Jan 20 19:21:52 2017 +0000
Fix regression introduced by Community Images
Updating an image in v1 skipped the work to ensure that the image dictionary
would be Image v2 compliant. It was hidden inside an else clause and was only
run when there was no image id provided. This meant that only sometimes would
is_public be appropriately converted to visibility.
A functional test has been added to prevent regression and the code has been
mildly altered to fix the issue.
Closes-bug: #1658164 559c025cca31e5e 12c4fb76548
Change-Id: I996fbed2e31df8