Commit f5de3d5c authored by Scott Moser's avatar Scott Moser

reporting/events: catch a final remaining incorrect use of 'reporting'

parent 9cd6d8a7
......@@ -47,6 +47,7 @@ from cloudinit import stages
from cloudinit import templater
from cloudinit import util
from cloudinit import reporting
from cloudinit.reporting import events
from cloudinit import version
from cloudinit.settings import (PER_INSTANCE, PER_ALWAYS, PER_ONCE,
......@@ -648,7 +649,7 @@ def main():
"running single module %s" %
report_on =
args.reporter = reporting.ReportEventStack(
args.reporter = events.ReportEventStack(
rname, rdesc, reporting_enabled=report_on)
with args.reporter:
return util.log_time(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment