Skip to content
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

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

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Nov 8, 2023

This is a backport of PR #7501 as merged into main (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
  • Bugfix Pull Request
  • Test Pull Request
COMPONENT NAME

several module utils

* Replace type comparisons with isinstance() checks.

* Add changelog.

(cherry picked from commit 48e860b)
@felixfontein felixfontein merged commit 4b84127 into stable-8 Nov 8, 2023
117 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-8/48e860be2033dc96127127d4355311301a6b31fa/pr-7501 branch November 8, 2023 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant