From 67910868dedc186968bafa1f7e1bfbaef395bc0b Mon Sep 17 00:00:00 2001
From: Hongbin Lu <hongbin.lu@huawei.com>
Date: Tue, 8 Aug 2017 18:16:55 +0000
Subject: [PATCH] Fix the default service type as container

In HTTP client, the default service type was set to 'baremetal'.
This is obviously incorrect. It should be 'container'.

Change-Id: I0e950db6897dbc8e12a452c6d55b7ae57790ca1d
---
 zunclient/common/httpclient.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zunclient/common/httpclient.py b/zunclient/common/httpclient.py
index d1d5bda2..8fd5a656 100644
--- a/zunclient/common/httpclient.py
+++ b/zunclient/common/httpclient.py
@@ -411,7 +411,7 @@ def _construct_http_client(*args, **kwargs):
     auth = kwargs.pop('auth', None)
 
     if session:
-        service_type = kwargs.pop('service_type', 'baremetal')
+        service_type = kwargs.pop('service_type', 'container')
         interface = kwargs.pop('endpoint_type', None)
         region_name = kwargs.pop('region_name', None)
         return SessionClient(session=session,