summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-09-03 10:47:28 -0400
committerScott Moser <smoser@ubuntu.com>2015-09-03 10:47:28 -0400
commitf5de3d5c481377d4f6fc7a6ca7986ed2b5966da4 (patch)
tree22308fa3844bc9734e8bd086e45b00a451c4e088 /bin
parent9cd6d8a7b3f5f02e3426e7af59b36a53039dd4fb (diff)
downloadvyos-cloud-init-f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4.tar.gz
vyos-cloud-init-f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4.zip
reporting/events: catch a final remaining incorrect use of 'reporting'
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cloud-init3
1 files changed, 2 insertions, 1 deletions
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(