Fix events misnomer in callback registry debug trace
events is the module, we want to log the event variable. Related-bug: #1620864 Change-Id: Iec0d403c57938b533dd3b314c100b6e21c3fea2a
This commit is contained in:
parent
f396cf7dcd
commit
9ac3596c6f
@ -139,7 +139,7 @@ class CallbacksManager(object):
|
|||||||
errors = []
|
errors = []
|
||||||
callbacks = list(self._callbacks[resource].get(event, {}).items())
|
callbacks = list(self._callbacks[resource].get(event, {}).items())
|
||||||
LOG.debug("Notify callbacks %s for %s, %s",
|
LOG.debug("Notify callbacks %s for %s, %s",
|
||||||
callbacks, resource, events)
|
callbacks, resource, event)
|
||||||
# TODO(armax): consider using a GreenPile
|
# TODO(armax): consider using a GreenPile
|
||||||
for callback_id, callback in callbacks:
|
for callback_id, callback in callbacks:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user