summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/vesagent
diff options
context:
space:
mode:
authorXiaohua Zhang <xiaohua.zhang@windriver.com>2018-08-27 07:16:17 +0000
committerXiaohua Zhang <xiaohua.zhang@windriver.com>2018-08-27 07:16:17 +0000
commit92e88758f73b99c8b817f318702d7b63e265a634 (patch)
tree313f6c3c4bf055822f9e979f509d0e8bc56b4123 /windriver/titanium_cloud/vesagent
parent0321035cf1f31a07929de22a31bf520861f1eaff (diff)
Fix subclass init issue
All subclass should invoke parent class __init__() Change-Id: Id7537156dc65f4c4739d2b70cc705d2ff39f4ff0 Issue-ID: MULTICLOUD-337 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/vesagent')
-rw-r--r--windriver/titanium_cloud/vesagent/vesagent_ctrl.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/vesagent/vesagent_ctrl.py b/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
index a85ce150..8bfa3c38 100644
--- a/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
+++ b/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
@@ -409,8 +409,9 @@ class VesAgentCtrl(APIView):
class APIv1VesAgentCtrl(VesAgentCtrl):
def __init__(self):
- self._logger = logger
- self.proxy_prefix = settings.MULTICLOUD_PREFIX
+ super(APIv1VesAgentCtrl, self).__init__()
+ # self._logger = logger
+ self.proxy_prefix = settings.MULTICLOUD_API_V1_PREFIX
def get(self, request, cloud_owner="", cloud_region_id=""):