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

* 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>
This commit is contained in:
Loïc 2021-06-11 13:05:29 +02:00 committed by GitHub
commit c2ce7a0752
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).