Use endpoint_override with heat client plugin
We recently changed heatclient to use endpoint_override to explicitly specify endpoint rather than changing it in code 'endpoint_override=endpoint'. Change-Id: I6367550cb32e2dc61b327ca0a8783ffc800851d0 Closes-Bug: #1643332
This commit is contained in:
parent
f337f85ce4
commit
bdcedf2fa6
|
@ -39,7 +39,7 @@ class HeatClientPlugin(client_plugin.ClientPlugin):
|
|||
args['username'] = self.context.username
|
||||
args['password'] = self.context.password
|
||||
|
||||
return hc.Client('1', endpoint,
|
||||
return hc.Client('1', endpoint_override=endpoint,
|
||||
session=self.context.keystone_session,
|
||||
**args)
|
||||
|
||||
|
|
Loading…
Reference in New Issue