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/changelogs/fragments
patchback[bot] e3e3682eb3
move conversion of data to json in slack API handling (#1101) (#1120)
* 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 b5b5410575)

Co-authored-by: Andreas Lutro <anlutro@gmail.com>
2020-10-19 11:33:03 +03:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:18:40 +02:00
349-pacman_improve_group_expansion_speed.yml Improve group expansion speed: query list of pacman groups once (#349) (#349) (#1060) 2020-10-09 13:25:34 +00:00
968-gitlab_variables-pagination.yml Gitlab variables pagination (#968) (#1063) 2020-10-09 15:30:02 +02:00
993-file-capabilities.yml [capabilities] fix for a newer versions of libcap (#1061) (#1110) 2020-10-16 21:23:43 +02:00
1024-vault-skip-verify-support.yml Respect VAULT_SKIP_VERIFY envionment variable setting in hashi_vault lookup plugin (#1024) (#1062) 2020-10-09 15:30:11 +02:00
1028-proxmox-kvm-linked-clone.yml proxmox_kvm: allow setting format to null (None) (#1028) (#1071) 2020-10-10 12:36:19 +02:00
1036-redis-cache-keyset-name.yaml cache/redis: make keyset keyname configurable (#1036) (#1074) 2020-10-11 20:05:17 +02:00
1048-postgresql_privs_add_procedure_type.yml postgresql_privs: add procedure type support (#1048) (#1056) 2020-10-08 09:03:33 +03:00
1059-postgresql_privs_fix_failings_when_using_roles_with_hyphen.yml postgresql_privs: fix module fails when passing roles containing hyphens (#1059) (#1073) 2020-10-11 15:37:52 +03:00
1078-postgresql_ext_fix_version_selection_when_version_is_latest.yml postgresql_ext: sort list of available versions (#1078) (#1084) 2020-10-13 14:53:17 +03:00
1081-solaris_zone-python3.yml solaris_zone: fix zone configuration with python3 (#1082) (#1096) 2020-10-15 09:52:14 +02:00
1091-postgresql_info_add_in_recovery_ret_val.yml postgresql_info: add in_recovery return value to show if a service in recovery mode or not (#1091) (#1093) 2020-10-14 14:59:21 +03:00
1099-postgresql_ext_fix_failing_when_version_cannot_be_compared.yml postgresql_ext: fix module's failing when available ext versions contain a pure string (#1099) (#1104) 2020-10-16 12:15:54 +03:00
1101-slack-ts-fix.yaml move conversion of data to json in slack API handling (#1101) (#1120) 2020-10-19 11:33:03 +03:00