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

[backport][release_2.1] Use isinstance API instead of type API #1070

Merged
merged 1 commit into from
May 9, 2022

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented May 9, 2022

SUMMARY

correct way to check datatype of variable is isinstance

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com
(cherry picked from commit a349921)

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ansible_runner/utils/init.py

correct way to check datatype of variable is `isinstance`

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit a349921)
@Akasurde Akasurde requested a review from a team as a code owner May 9, 2022 14:17
@Shrews Shrews merged commit a0e673b into ansible:release_2.1 May 9, 2022
@Akasurde Akasurde deleted the backport/release_2.1/1066 branch May 9, 2022 14:58
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.

None yet

2 participants