diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-09-03 10:47:28 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-09-03 10:47:28 -0400 |
commit | f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4 (patch) | |
tree | 22308fa3844bc9734e8bd086e45b00a451c4e088 /bin/cloud-init | |
parent | 9cd6d8a7b3f5f02e3426e7af59b36a53039dd4fb (diff) | |
download | vyos-cloud-init-f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4.tar.gz vyos-cloud-init-f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4.zip |
reporting/events: catch a final remaining incorrect use of 'reporting'
Diffstat (limited to 'bin/cloud-init')
-rwxr-xr-x | bin/cloud-init | 3 |
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( |