diff options
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/reporting/__init__.py | 1 | ||||
-rw-r--r-- | cloudinit/reporting/handlers.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/reporting/__init__.py b/cloudinit/reporting/__init__.py index e23fab32..502af95c 100644 --- a/cloudinit/reporting/__init__.py +++ b/cloudinit/reporting/__init__.py @@ -83,7 +83,6 @@ def update_configuration(config): instantiated_handler_registry.unregister_item( handler_name, force=True) continue - registered = instantiated_handler_registry.registered_items handler_config = handler_config.copy() cls = available_handlers.registered_items[handler_config.pop('type')] instantiated_handler_registry.unregister_item(handler_name) diff --git a/cloudinit/reporting/handlers.py b/cloudinit/reporting/handlers.py index 172679cc..5ed3cb84 100644 --- a/cloudinit/reporting/handlers.py +++ b/cloudinit/reporting/handlers.py @@ -23,6 +23,7 @@ class ReportingHandler(object): @abc.abstractmethod def publish_event(self, event): """Publish an event to the ``INFO`` log level.""" + print(event.as_string()) class LogHandler(ReportingHandler): |