Fix Heat initialization

There is wrong usage of `endpoint_override` in heatclient.
Fix replaces it with `endpoint`.

Closes-Bug: #1621471
Related-Bug: #1621505
Change-Id: I18bdbd4c027e952c0b17c4e21f495d155c51c556
This commit is contained in:
ekhomyakova 2016-09-08 16:14:43 +03:00 committed by Ekaterina Khomyakova
parent a3674cc17d
commit b7b1164004
1 changed files with 2 additions and 1 deletions

View File

@ -129,9 +129,10 @@ class Common(object):
def heat(self):
endpoint = self.__make_endpoint(
self._get_url_for_svc(service_type='orchestration'))
# TODO: parameter endpoint_override when heatclient will be fixed
return HeatClient(
session=self.keystone_session,
endpoint_override=endpoint)
endpoint=endpoint)
@property
def ironic(self):