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

payload_template example has render issues #16

Closed
JasonIamAUnixAdmin opened this issue Mar 18, 2016 · 4 comments
Closed

payload_template example has render issues #16

JasonIamAUnixAdmin opened this issue Mar 18, 2016 · 4 comments

Comments

@JasonIamAUnixAdmin
Copy link

Just an FYI the payload_template on the readme page fails to pass json validation due to conflicting quotation marks.

@tute26
Copy link

tute26 commented Feb 2, 2017

same problem here

@tute26
Copy link

tute26 commented Feb 3, 2017

well i fixed the template,
{ "username": "Sensu", "icon_emoji": ":bell:", "channel": "#tests", "attachments": [{ "fallback": "<%=@event[\"check\"][\"output\"]%>", "color": "<%=color %>", "title": "<%=@event[\"check\"][\"name\"]%> (<%= @event[\"client\"][\"name\"]%>)", "text": "<%=@event[\"check\"][\"output\"].gsub('\" ', ' \\\\ \"')%>" } ] }

@majormoses
Copy link
Member

@tute26 any chance you could PR this?

@majormoses
Copy link
Member

We have recently updated the documentation, I will close this out and if it is not clear please reply back and we can re-open it.

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

No branches or pull requests

3 participants