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:
Armando Migliaccio 2016-09-15 18:52:54 -07:00
parent f396cf7dcd
commit 9ac3596c6f
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class CallbacksManager(object):
errors = []
callbacks = list(self._callbacks[resource].get(event, {}).items())
LOG.debug("Notify callbacks %s for %s, %s",
callbacks, resource, events)
callbacks, resource, event)
# TODO(armax): consider using a GreenPile
for callback_id, callback in callbacks:
try: