From bdcedf2fa65728fc28624ed3e4636c1db955ba9b Mon Sep 17 00:00:00 2001 From: rabi Date: Sun, 20 Nov 2016 20:52:21 +0530 Subject: [PATCH] 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 --- heat/engine/clients/os/heat_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/clients/os/heat_plugin.py b/heat/engine/clients/os/heat_plugin.py index a43e6a618d..e93a418c2e 100644 --- a/heat/engine/clients/os/heat_plugin.py +++ b/heat/engine/clients/os/heat_plugin.py @@ -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)