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:
parent
990f484962
commit
2e919f5d31
|
@ -39,10 +39,7 @@ class HeatClientPlugin(client_plugin.ClientPlugin):
|
||||||
args['username'] = self.context.username
|
args['username'] = self.context.username
|
||||||
args['password'] = self.context.password
|
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,
|
return hc.Client('1', endpoint_override=endpoint,
|
||||||
endpoint=endpoint,
|
|
||||||
session=self.context.keystone_session,
|
session=self.context.keystone_session,
|
||||||
**args)
|
**args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue