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:
parent
3990c5b7e1
commit
28b78049ce
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user