-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use isinstance() instead of type() #7501
Conversation
48e860b
into
ansible-collections:main
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7502 🤖 @patchback |
* Replace type comparisons with isinstance() checks. * Add changelog. (cherry picked from commit 48e860b)
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #7503 🤖 @patchback |
* Replace type comparisons with isinstance() checks. * Add changelog. (cherry picked from commit 48e860b)
SUMMARY
Fix sanity tests.
Ref: https://dev.azure.com/ansible/community.general/_build/results?buildId=95127&view=logs&j=989d489a-4f0d-5fce-ef97-861a3aa8f466&t=7f12bb05-38e3-5790-48be-85ee2e060d6b
ISSUE TYPE
COMPONENT NAME
several module utils