Fixed a bug in _get_glare_url

Due to a typo in the _getGlare_url method Murano was not able to
properly retrieve the Glare endpoint url from the Keystone's service
catalog.
This lead to an HTTP 400 when the package UI was requested from
murano-api if the murano.config did not contain a pre-configured Glare
URL.
This has been addresed.

Change-Id: I6447ee0cc3a322c841f5e6d27c74ef39cad1d063
Closes-Bug: #1572518
This commit is contained in:
Alexander Tivelkov 2016-04-20 14:33:36 +03:00
parent 9327d80ed0
commit 34154bc4ab

@ -410,7 +410,7 @@ class Controller(object):
token = request.context.auth_token
url = glare_settings.url
if not url:
self._get_glare_url(request)
url = self._get_glare_url(request)
client = glare_client.Client(
endpoint=url, token=token, insecure=glare_settings.insecure,
key_file=glare_settings.key_file or None,