diff options
Diffstat (limited to 'share/newton_base/openoapi/alarm.py')
-rwxr-xr-x | share/newton_base/openoapi/alarm.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/newton_base/openoapi/alarm.py b/share/newton_base/openoapi/alarm.py index 3cbcf9ad..8538a191 100755 --- a/share/newton_base/openoapi/alarm.py +++ b/share/newton_base/openoapi/alarm.py @@ -37,6 +37,10 @@ class Alarms(APIView): ("container_format", "containerFormat")
]
+ def __init__(self):
+ super(Alarms, self).__init__()
+ self._logger = logger
+
def get(self, request, vimid="", tenantid="", alarmid=""):
logger.debug("alarms--get::> %s" % request.data)
try:
|