2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-13 11:17:49 +00:00

Fix node collection notification code

This commit is contained in:
jbjohnso 2014-04-22 10:52:52 -04:00
parent 640a6ece45
commit 3e6d405abf

View File

@ -975,7 +975,7 @@ class ConfigManager(object):
if newnodes:
if self.tenant in self._nodecollwatchers:
nodecollwatchers = self._nodecollwatchers[self.tenant]
for watcher in nodecollwatchers[self.tenant].itervalues():
for watcher in nodecollwatchers.itervalues():
watcher(added=newnodes, deleting=[], configmanager=self)
self._bg_sync_to_file()
#TODO: wait for synchronization to suceed/fail??)