Merge "Improve comments in notification.py"
This commit is contained in:
commit
e89f38d778
@ -146,12 +146,11 @@ class NotificationService(service_base.BaseService):
|
|||||||
self.partition_coordinator.start()
|
self.partition_coordinator.start()
|
||||||
self.partition_coordinator.join_group(self.group_id)
|
self.partition_coordinator.join_group(self.group_id)
|
||||||
else:
|
else:
|
||||||
# FIXME(sileht): endpoint use notification_topics option
|
# FIXME(sileht): endpoint uses the notification_topics option
|
||||||
# and it should not because this is oslo_messaging option
|
# and it should not because this is an oslo_messaging option
|
||||||
# not a ceilometer, until we have a something to get
|
# not a ceilometer. Until we have something to get the
|
||||||
# the notification_topics in an other way
|
# notification_topics in another way, we must create a transport
|
||||||
# we must create a transport to ensure the option have
|
# to ensure the option has been registered by oslo_messaging.
|
||||||
# beeen registered by oslo_messaging
|
|
||||||
messaging.get_notifier(self.transport, '')
|
messaging.get_notifier(self.transport, '')
|
||||||
self.group_id = None
|
self.group_id = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user