mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
e3e3682eb3
* move conversion of data to json in slack API handling
at one point in do_notify_slack, we do operations on the payload
variable assuming it's a dict, but it's not: it's a json encoded string.
it's useful to operate on the payload as a dict rather than a string, so
solve this problem by moving the jsonify call to right before sending
the payload to the slack API.
fixes #1097
* add changelog fragment
* Update changelogs/fragments/1101-slack-ts-fix.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
* return payload as a json encoded string for backwards compatibility
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit
|
||
---|---|---|
.. | ||
.keep | ||
349-pacman_improve_group_expansion_speed.yml | ||
968-gitlab_variables-pagination.yml | ||
993-file-capabilities.yml | ||
1024-vault-skip-verify-support.yml | ||
1028-proxmox-kvm-linked-clone.yml | ||
1036-redis-cache-keyset-name.yaml | ||
1048-postgresql_privs_add_procedure_type.yml | ||
1059-postgresql_privs_fix_failings_when_using_roles_with_hyphen.yml | ||
1078-postgresql_ext_fix_version_selection_when_version_is_latest.yml | ||
1081-solaris_zone-python3.yml | ||
1091-postgresql_info_add_in_recovery_ret_val.yml | ||
1099-postgresql_ext_fix_failing_when_version_cannot_be_compared.yml | ||
1101-slack-ts-fix.yaml |