mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Prune commented-out old one-liner
This commit is contained in:
parent
a7f3003124
commit
f16582b1ba
1 changed files with 0 additions and 1 deletions
|
@ -339,7 +339,6 @@ class LogStash::Codecs::Collectd < LogStash::Codecs::Base
|
|||
# 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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue