diff options
Diffstat (limited to 'heatclient/common')
-rw-r--r-- | heatclient/common/http.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/heatclient/common/http.py b/heatclient/common/http.py index 0a31496..a9c981c 100644 --- a/heatclient/common/http.py +++ b/heatclient/common/http.py @@ -347,6 +347,8 @@ def _construct_http_client(endpoint=None, username=None, password=None, auth = kwargs.pop('auth', None) if session: + if 'endpoint_override' not in kwargs and endpoint: + kwargs['endpoint_override'] = endpoint return SessionClient(session, auth=auth, **kwargs) else: return HTTPClient(endpoint=endpoint, username=username, |