forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for multiline conditionals with the
else if
statements
This is a followup of the issues elastic#2850 and elastic#3281. The following configuration: if [condition] { } else if [condition1] or [condition2] { .. } Was compiled to ruby like this: elsif condition or condition2 # else if [condition1] or [condition2] and making the intepreter fails. Fixes elastic#3386
- Loading branch information
1 parent
43b13e0
commit 37d1033
Showing
2 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters