Use both endpoint and endpoint_override
Use both endpoint and endpoint_override to support python-heatclient<1.6.0. Change-Id: Ifb13ce90ee3e4063c2e16cf0a3cda1817dc45d29 Related-Bug: #1643507
This commit is contained in:
parent
bdcedf2fa6
commit
7780f7a60e
|
@ -39,7 +39,10 @@ class HeatClientPlugin(client_plugin.ClientPlugin):
|
|||
args['username'] = self.context.username
|
||||
args['password'] = self.context.password
|
||||
|
||||
# Note: Remove 'endpoint' from args when requirements
|
||||
# changes to python-heatclient>=1.6.0
|
||||
return hc.Client('1', endpoint_override=endpoint,
|
||||
endpoint=endpoint,
|
||||
session=self.context.keystone_session,
|
||||
**args)
|
||||
|
||||
|
|
Loading…
Reference in New Issue