-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Fix zabbix-template module error version comparison #39199
Fix zabbix-template module error version comparison #39199
Conversation
The test
The test
The test
The test
The test
|
shipit |
Thanks for the fix, |
bot_status |
Componentslib/ansible/modules/monitoring/zabbix/zabbix_template.py Metadatawaiting_on: maintainer |
I am not sure, looks like it is rerunning builds over and over again: @resmo a little bit of help will be appreciated here :) Should we close & open a new one? |
bot_status |
Componentslib/ansible/modules/monitoring/zabbix/zabbix_template.py Metadatawaiting_on: maintainer |
SUMMARY
Fixes #39198
ISSUE TYPE
COMPONENT NAME
zabbix_template
ANSIBLE VERSION
ADDITIONAL INFORMATION
Since integers and strings are non-comparable in Python 3, the following comparison will fail:
The traceback:
By using
pkg_resources
module we can fix this error.