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

Update zabbix module to avoid exception #55706

Merged
merged 2 commits into from
Dec 23, 2019
Merged

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented Dec 20, 2019

PORT #51038 to master

As seen here https://www.zabbix.com/documentation/current/manual/api/reference/configuration/import

Return values
(boolean) Returns true if importing has been successful.

This PR updates the module to avoid Exception: object of type 'bool' has no len() error when using these type of Zabbix server API calls.

Tests written?

No

Commits signed with GPG?

No

As seen here https://www.zabbix.com/documentation/current/manual/api/reference/configuration/import 

Return values
(boolean) Returns *true* if importing has been successful.

Updated module to avoid 'Exception: object of type 'bool' has no len()' error.
@dwoz dwoz requested a review from a team as a code owner December 20, 2019 00:00
@ghost ghost requested a review from Ch3LL December 20, 2019 00:00
@dwoz dwoz merged commit 091cbbd into saltstack:master Dec 23, 2019
@dwoz dwoz deleted the zabbix-exceptiono branch July 26, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants