diff options
author | Josh Cooper <josh@puppetlabs.com> | 2011-06-10 14:03:47 -0700 |
---|---|---|
committer | Josh Cooper <josh@puppetlabs.com> | 2011-06-10 14:03:47 -0700 |
commit | 6996e0bbfb3559773e5fa0d133a7632dcb06b2d5 (patch) | |
tree | 980f769d795cdbd8b3972e7ff2b6e503daffe4f9 /spec/unit/util/autoload.rb | |
parent | caca469976cc8b5ff6c7f68d7324eecd35399176 (diff) | |
download | puppet-6996e0bbfb3559773e5fa0d133a7632dcb06b2d5.tar.gz puppet-6996e0bbfb3559773e5fa0d133a7632dcb06b2d5.tar.xz puppet-6996e0bbfb3559773e5fa0d133a7632dcb06b2d5.zip |
Do not needlessly create multiple reports when creating a transaction
Previously, the transaction would always create a report, which would
some times be overridden with a new report.
Now, the transaction optionally takes a report at initialization time,
and only creates a report of its own if none was provided.
Reviewed-by: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions