lib/fluent/plugin/out_mail.rb in fluent-plugin-mail-0.2.0 vs lib/fluent/plugin/out_mail.rb in fluent-plugin-mail-0.2.1
- old
+ new
@@ -98,10 +98,10 @@
# The old `key=value` format for old version compatibility
def create_key_value_message(tag, time, record)
values = []
- values << @out_keys.each do |key|
+ values << @out_keys.map do |key|
case key
when @time_key
format_time(time, @time_format)
when @tag_key
tag