lib/new_relic/agent/configuration/manager.rb in newrelic_rpm-6.15.0 vs lib/new_relic/agent/configuration/manager.rb in newrelic_rpm-7.0.0

- old
+ new

@@ -21,11 +21,11 @@ def [](key) @cache[key] end def has_key?(key) - @cache.has_key?[key] + @cache.has_key? key end def keys @cache.keys end @@ -343,10 +343,10 @@ reset_cache end def reset_cache - @cache = Hash.new {|hash,key| hash[key] = self.fetch(key) } + @cache = Hash.new { |hash,key| hash[key] = self.fetch(key) } end def log_config(direction, source) # Just generating this log message (specifically calling # flattened.inspect) is expensive enough that we don't want to do it