Issue #7784 has been reported by Matt Robinson.

----------------------------------------
Bug #7784: The metric methods on report.rb are practically unused and error 
prone
https://projects.puppetlabs.com/issues/7784

Author: Matt Robinson
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected URL: 
Affected Dashboard version: 


The report model has methods for each of the known metrics.  The only place the 
methods are used is in views/reports/index.html.haml, and it turned that 
skipped_resources was wrong anyway so always said 0.  If we got rid of the 
convenience methods we could just use metric_value("resources", "skipped"), or 
rework the report index table to not list metrics.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to