Skip to content

Commit

Permalink
Prune commented-out old one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
untergeek committed Apr 22, 2014
1 parent a7f3003 commit f16582b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/logstash/codecs/collectd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ def decode(payload)
# Fill in the fields.
if values.is_a?(Array)
if values.length > 1 # Only do this iteration on multi-value arrays
#values.each_with_index {|value, x| collectd[@types[collectd['collectd_type']][x]] = values[x]}
values.each_with_index do |value, x|
type = collectd['collectd_type']
key = @types[type]
Expand Down

0 comments on commit f16582b

Please sign in to comment.