diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-07-31 14:38:09 +0000 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-07-31 14:38:09 +0000 |
commit | b22302d8e2b539f61faede7efb3a163966bf170a (patch) | |
tree | b847791cea471ebf31a870926c1c8a21888757c3 /bin | |
parent | 6f174b41496f133af92fb373f3b718eabdebfa05 (diff) | |
download | vyos-cloud-init-b22302d8e2b539f61faede7efb3a163966bf170a.tar.gz vyos-cloud-init-b22302d8e2b539f61faede7efb3a163966bf170a.zip |
fix issues found when testing
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cloud-init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cloud-init b/bin/cloud-init index 6a47e5e8..c808eda5 100755 --- a/bin/cloud-init +++ b/bin/cloud-init @@ -636,8 +636,8 @@ def main(): "running single module %s" % args.name) report_on = args.report - reporter = reporting.ReportStack(rname, rdesc, reporting=report_on) - with reporter: + args.reporter = reporting.ReportStack(rname, rdesc, reporting=report_on) + with args.reporter: return util.log_time( logfunc=LOG.debug, msg="cloud-init mode '%s'" % name, get_uptime=True, func=functor, args=(name, args)) |