summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-02-06 11:34:16 -0800
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commitad148d63a638c5ae5709463b97a8f70ce1cce607 (patch)
treecc87e556b783ce02e27582e7fb58e33043d55fc7 /lib
parent922cf1a8fc23b0cc341f5746d1c83b533b5761a8 (diff)
downloadpuppet-ad148d63a638c5ae5709463b97a8f70ce1cce607.tar.gz
puppet-ad148d63a638c5ae5709463b97a8f70ce1cce607.tar.xz
puppet-ad148d63a638c5ae5709463b97a8f70ce1cce607.zip
Resolving conflicts with luke:tickets/master/2759
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/transaction/report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/transaction/report.rb b/lib/puppet/transaction/report.rb
index 3227730eb..8e3812096 100644
--- a/lib/puppet/transaction/report.rb
+++ b/lib/puppet/transaction/report.rb
@@ -138,7 +138,7 @@ class Puppet::Transaction::Report
def calculate_time_metrics
metrics = Hash.new(0)
resource_statuses.each do |name, status|
- type = Puppet::Resource::Reference.new(name).type
+ type = Puppet::Resource.new(name).type
metrics[type.to_s.downcase] += status.evaluation_time if status.evaluation_time
end