Permalink
Browse files

minor syntax fix

  • Loading branch information...
robbyt committed Dec 21, 2011
1 parent c42ca02 commit 037939de36c4464ecdf48553a45c58717005ae0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/puppet/reports/datadog_reports.rb
@@ -74,7 +74,7 @@ def process
failed_resources = self.resource_statuses.find_all {|s| s.failed }
# Little insert if we know the config
- config_version_blurb = case when defined?(self.configuration_version) "applied version #{self.configuration_version}" else "" end
+ config_version_blurb = if defined?(self.configuration_version) "applied version #{self.configuration_version}" else "" end
event_data << "Puppet #{config_version_blurb}changed #{pluralize(changed_resources.length, 'resources')} out of #{total_resource_count}."

0 comments on commit 037939d

Please sign in to comment.