diff options
Diffstat (limited to 'windriver/titanium_cloud/resource')
-rw-r--r-- | windriver/titanium_cloud/resource/views/capacity.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/resource/views/capacity.py b/windriver/titanium_cloud/resource/views/capacity.py index 1b4566c3..0619e83b 100644 --- a/windriver/titanium_cloud/resource/views/capacity.py +++ b/windriver/titanium_cloud/resource/views/capacity.py @@ -145,10 +145,11 @@ class CapacityCheck(APIView): -class APIv1CapacityCheck(APIView): +class APIv1CapacityCheck(CapacityCheck): def __init__(self): - self._logger = logger + super(APIv1CapacityCheck, self).__init__() + # self._logger = logger def post(self, request, cloud_owner="", cloud_region_id=""): self._logger.info("vimid, data> %s,%s, %s" % (cloud_owner, cloud_region_id, request.data)) |