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

getting Notice: Do not use 'handle' and 'handlers' together. Your 'handle' value has been overridden with 'handlers' #371

Closed
ghost opened this issue Jun 23, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 23, 2015

i've defined handle: true, and a handlers array -- and getting this message:

Notice: Do not use 'handle' and 'handlers' together. Your 'handle' value has been overridden with 'handlers'

I'm guessing that i don't need to have both now?

@jlambert121
Copy link
Contributor

Handlers takes an array of handlers https://github.com/sensu/sensu-puppet/blob/master/lib/puppet/provider/sensu_check/json.rb#L169 (and priority) over the single element handle (https://github.com/sensu/sensu-puppet/blob/master/lib/puppet/provider/sensu_check/json.rb#L169). You only need one of the two, correct.

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

1 participant