aodh-notifier: fix the launch bug

Need to call the parent class's init in aodh-notifier when we
replacing oslo.service by cotyledon, in order to make aodh-notifier to
be launched properly.

Closes-Bug: #1616760

Change-Id: I7f56ff5c60d16fb5af66e419024f2bc49c597089
This commit is contained in:
Lianhao Lu 2016-09-08 10:50:08 +08:00
parent 3990c5b7e1
commit 28b78049ce

View File

@ -69,6 +69,7 @@ class AlarmNotifierService(cotyledon.Service):
NOTIFIER_EXTENSIONS_NAMESPACE = "aodh.notifier"
def __init__(self, worker_id, conf):
super(AlarmNotifierService, self).__init__(worker_id)
self.conf = conf
transport = messaging.get_transport(self.conf)
self.notifiers = extension.ExtensionManager(