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/320446 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=8af249fcc9c 5d1fe92f010eb19 c6276cb5167bf6
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 8af249fcc9c5d1f e92f010eb19c627 6cb5167bf6
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