Created
April 22, 2015 12:33
-
-
Save stbenjam/8c4e3e5a31887533b2e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In usr/share/foreman/vendor/ruby/1.9.1/gems/foreman_salt-2.0.2/app/services/foreman_salt/report_importer.rb: | |
Change this line: | |
time[:total] = time.values.inject(&:+) | |
To this: | |
time[:total] = time.values.compact.inject(&:+) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment