diff options
-rw-r--r-- | heatclient/common/http.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/heatclient/common/http.py b/heatclient/common/http.py index a9c981c..dc405f4 100644 --- a/heatclient/common/http.py +++ b/heatclient/common/http.py @@ -349,6 +349,9 @@ def _construct_http_client(endpoint=None, username=None, password=None, if session: if 'endpoint_override' not in kwargs and endpoint: kwargs['endpoint_override'] = endpoint + elif 'service_type' not in kwargs: + kwargs['service_type'] = 'orchestration' + return SessionClient(session, auth=auth, **kwargs) else: return HTTPClient(endpoint=endpoint, username=username, |