[PR #7501/48e860be backport][stable-8] Use isinstance() instead of type() (#7503)

Use isinstance() instead of type() (#7501)

* Replace type comparisons with isinstance() checks.

* Add changelog.

(cherry picked from commit 48e860be20)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2023-11-08 13:27:04 +01:00
committed by GitHub
parent 82e1f24d2e
commit 4b84127ef3
4 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "ocapi_utils, oci_utils, redfish_utils module utils - replace ``type()`` calls with ``isinstance()`` calls (https://github.com/ansible-collections/community.general/pull/7501)."