1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/web_infrastructure
Ken Dreyer b29af922eb
jira: cast error messages to strings (#707)
Sometimes Jira returns dicts as "errors" instead of simple strings.
For example, when a user specifies a field that cannot be set, Jira
returns a dict with the field name as a key and the error message as the
value.

In the rare case that we have both a "errorMessages" list and an
"errors" dict, when we combine those values later with join(), Python
raises a TypeError.

Transform each individual error message into a string, and then join()
the list of strings.
2020-07-29 23:38:51 +02:00
..
sophos_utm
apache2_mod_proxy.py
apache2_module.py
deploy_helper.py
django_manage.py
ejabberd_user.py
gunicorn.py
htpasswd.py
jboss.py
jenkins_job.py
jenkins_job_facts.py
jenkins_job_info.py
jenkins_plugin.py
jenkins_script.py
jira.py jira: cast error messages to strings (#707) 2020-07-29 23:38:51 +02:00
nginx_status_facts.py
nginx_status_info.py
rundeck_acl_policy.py
rundeck_project.py
supervisorctl.py
taiga_issue.py