Only pass 'endpoint_override=endpoint' with heat client

We don't have to pass endpoint when init heat client.

Change-Id: Id44414654aa5ca884d4f71101f69198e9a4ec285
This commit is contained in:
huangtianhua 2017-03-13 18:13:23 +08:00
parent 990f484962
commit 2e919f5d31
1 changed files with 0 additions and 3 deletions

View File

@ -39,10 +39,7 @@ 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)