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:
rabi 2016-11-20 20:52:21 +05:30
parent f337f85ce4
commit bdcedf2fa6
1 changed files with 1 additions and 1 deletions

View File

@ -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)