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 no_contacts function to support fallback case #6

Merged
merged 1 commit into from
Jun 18, 2019
Merged

Conversation

cwjohnston
Copy link
Contributor

@cwjohnston cwjohnston commented Jun 18, 2019

In order to support the "default" or "fallback" contact concept from Sensu Enterprise, we need a function which stipulates essentially the inverse of has_contact, meaning that the function should return true if the event lacks contact labels.

This change set adds a no_contacts function to provide this capability.

@cwjohnston cwjohnston merged commit c39b2b5 into master Jun 18, 2019
@cwjohnston cwjohnston deleted the no_contacts branch June 18, 2019 15:23
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.

1 participant