email.rb output plugin eventFieldValues not iterable

Description

Email plugin throwing <NoMethodError>: undefined method 'each'. It appears the eventFieldsValue is not an array when it is iterated to validate its values. I experience the issue in v1.1.12 and v1.1.13. Looks like the code in question was last altered in commit: 8d644ba2817dfaa30d67cce1402fa8aa0718b132

I worked around the issue by pulling v1.1.13 and manually replacing the email.rb with the latest from master then building.

Environment

None

Status

Assignee

Logstash Developers

Reporter

DanH

Labels

None

Fix versions

Affects versions

Priority

Configure