Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow PostAgent headers to interpolate event data #1606

Merged
merged 1 commit into from
Jul 25, 2016

Conversation

cantino
Copy link
Member

@cantino cantino commented Jul 25, 2016

Should fix #1603.

@@ -124,15 +124,15 @@ def receive(incoming_events)
incoming_events.each do |event|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inserting interpolate_with(event) do here eliminates the need for passing event or event.payload to interpolated(), and that's how some other agents do to pull in each event payload to Liquid evaluation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Done!

@cantino cantino merged commit cc72f79 into master Jul 25, 2016
@cantino cantino deleted the interpolate_headers branch July 25, 2016 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Post Agent headers can't take in event data?
2 participants