From f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 3 Sep 2015 10:47:28 -0400 Subject: reporting/events: catch a final remaining incorrect use of 'reporting' --- bin/cloud-init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/cloud-init b/bin/cloud-init index 1f64461e..9b90c45e 100755 --- a/bin/cloud-init +++ b/bin/cloud-init @@ -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" % args.name) report_on = args.report - args.reporter = reporting.ReportEventStack( + args.reporter = events.ReportEventStack( rname, rdesc, reporting_enabled=report_on) with args.reporter: return util.log_time( -- cgit v1.2.3