summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-08-02 17:51:40 -0400
committerScott Moser <smoser@ubuntu.com>2015-08-02 17:51:40 -0400
commit89c564a6fd5ac89869f83541370557e3fa58495c (patch)
tree522d4bafe13317cbec2767d91f553381b67fd573 /bin
parent89c5936c7c1fb6d172cd0eee9c5f9aa2cd5e2053 (diff)
downloadvyos-cloud-init-89c564a6fd5ac89869f83541370557e3fa58495c.tar.gz
vyos-cloud-init-89c564a6fd5ac89869f83541370557e3fa58495c.zip
fix tests from sync
change ReportStack to ReportEventStack change default ReportEventStack to be status.SUCCESS instead of None
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 d369a806..51253c42 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -637,7 +637,8 @@ def main():
"running single module %s" % args.name)
report_on = args.report
- args.reporter = reporting.ReportStack(
+ reporting.add_configuration({'print': {'type': 'print'}})
+ args.reporter = reporting.ReportEventStack(
rname, rdesc, reporting_enabled=report_on)
with args.reporter:
return util.log_time(