Permalink
Browse files

adding values

  • Loading branch information...
1 parent 62ac063 commit 611dc07447d62b3f89bfb60a572b94d77a96da88 @robbyt robbyt committed Dec 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/puppet/reports/datadog_reports.rb
@@ -70,8 +70,8 @@ def process
# Extract statuses
total_resource_count = self.resource_statuses.length
- changed_resources = self.resource_statuses.find_all {|s| s.changed }
- failed_resources = self.resource_statuses.find_all {|s| s.failed }
+ changed_resources = self.resource_statuses.values.find_all {|s| s.changed }
+ failed_resources = self.resource_statuses.values.find_all {|s| s.failed }
# Little insert if we know the config
config_version_blurb = if defined?(self.configuration_version) then "applied version #{self.configuration_version}" else "" end

0 comments on commit 611dc07

Please sign in to comment.