[scaleway inventory] Fix JSON object must be str, not 'bytes' (#2771) (#2783)

* Fix JSON object decoding

* Code improvement : python 3.5 fix

* Add changelog fragment

* Update changelogs/fragments/2771-scaleway_inventory_json_accept_byte_array.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit c2ce7a0752)

Co-authored-by: Loïc <loic.latreille@gmail.com>
This commit is contained in:
patchback[bot] 2021-06-11 13:23:41 +02:00 committed by GitHub
commit 725e670b47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,3 @@
bugfixes:
- scaleway plugin inventory - fix ``JSON object must be str, not 'bytes'`` with Python 3.5
(https://github.com/ansible-collections/community.general/issues/2769).