diff options
| author | Paul Berry <paul@puppetlabs.com> | 2010-12-29 14:09:57 -0800 |
|---|---|---|
| committer | Paul Berry <paul@puppetlabs.com> | 2010-12-30 11:50:51 -0800 |
| commit | a4e40f4dd5990df4dc6b2be065e82a142a31b6fc (patch) | |
| tree | 30e7c792f7e1997d34efd79bc1c81f81e70afcfc /lib/puppet/application | |
| parent | 15dda94c7d1e117273928f094b46a81b3f842c1f (diff) | |
| download | puppet-a4e40f4dd5990df4dc6b2be065e82a142a31b6fc.tar.gz puppet-a4e40f4dd5990df4dc6b2be065e82a142a31b6fc.tar.xz puppet-a4e40f4dd5990df4dc6b2be065e82a142a31b6fc.zip | |
(#5715) Refactor in preparation for adding a status attribute to reports.
Renamed Puppet::Transaction::Report#calculate_metrics to
finalize_report, in preparation for adding more functionality to this
method.
Removed Puppet::Transaction#send_report and
Puppet::Transaction#generate_report. The former was never used, and
the latter was unnecessary.
Diffstat (limited to 'lib/puppet/application')
| -rw-r--r-- | lib/puppet/application/inspect.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/application/inspect.rb b/lib/puppet/application/inspect.rb index e6c35eaeb..2f068a271 100644 --- a/lib/puppet/application/inspect.rb +++ b/lib/puppet/application/inspect.rb @@ -70,7 +70,7 @@ class Puppet::Application::Inspect < Puppet::Application finishtime = Time.now @report.add_times("inspect", finishtime - inspect_starttime) - @report.calculate_metrics + @report.finalize_report begin @report.save |
