If env['OS_IMAGE_URL'] is not set then None is returned. This is then
used ignoring the endpoint_type, service_type and region_name. This
patch will use those values if the endpoint is None.
Change-Id: I76cc527b05d2be75d3dbc33123a0d71be97fe25c
Closes-bug: #1579768
(cherry picked from commit a862196cfb7f7323b1864b4c1660c39850487a64)
Reviewed: https:/ /review. openstack. org/320449 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=f6b9e791c35 a085cd6d9fd5e5a 87aa5cc5fadb00
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit f6b9e791c35a085 cd6d9fd5e5a87aa 5cc5fadb00
Author: Niall Bunting <email address hidden>
Date: Mon May 9 16:23:33 2016 +0000
Get endpoint if os_image_url is not set
If env['OS_IMAGE_URL'] is not set then None is returned. This is then
used ignoring the endpoint_type, service_type and region_name. This
patch will use those values if the endpoint is None.
Change-Id: I76cc527b05d2be 75d3dbc33123a0d 71be97fe25c 3b1864b4c1660c3 9850487a64)
Closes-bug: #1579768
(cherry picked from commit a862196cfb7f732