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

Add optional pipe property to sensu_handler #237

Merged
merged 1 commit into from
Sep 12, 2014
Merged

Conversation

yeungda
Copy link
Contributor

@yeungda yeungda commented Aug 29, 2014

The pipe property is a hash. It is required when describing a sensu
handler of type transport. The transport type was introduced in sensu
0.13 and replaces the amqp type.

@jamtur01
Copy link
Contributor

@jlambert121 Any feedback?

@yeungda Can you please rebase.

This builds on work already merged for supporting the pipe transport. It
provides validation that the pipe is a hash and adds a spec. This makes
the pipe property's implementation more consistent with other properties.
@yeungda
Copy link
Contributor Author

yeungda commented Sep 12, 2014

In summary this just adds some additional validation and a spec. The pipe is validated as a hash, and a typo was fixed in the check that ensures pipe is present when the type is transport.

jamtur01 added a commit that referenced this pull request Sep 12, 2014
Add optional pipe property to sensu_handler
@jamtur01 jamtur01 merged commit 0438e95 into sensu:master Sep 12, 2014
@yeungda
Copy link
Contributor Author

yeungda commented Sep 12, 2014

Thanks!

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.

2 participants