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 False + msg tuple return if requests is missing for zenoss module #38102

Merged
merged 1 commit into from Dec 7, 2016

Conversation

rallytime
Copy link
Contributor

What does this PR do?

Adds the False and reason message tuple to the zenoss execution module when requests is missing.

What issues does this PR fix or reference?

Fixes #38091

Previous Behavior

[WARNING ] salt.loaded.int.module.zenoss.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'zenoss', please fix this.

New Behavior

The warning no longer displays because the virtual function will no longer return None.

Tests written?

No

Please review Salt's Contributing Guide for best practices.

@cachedout cachedout merged commit d3d98fd into saltstack:2016.3 Dec 7, 2016
@rallytime rallytime deleted the fix-38091 branch December 7, 2016 16:09
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.

None yet

2 participants