Skip to content

Commit

Permalink
Ignore sanity check. (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored Aug 11, 2023
1 parent e21d6d3 commit 6f6dd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/docker_swarm_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def sort_list(unsorted_list):
else:
zip_data = zip(new_list, old_list)
for new_item, old_item in zip_data:
is_same_type = type(new_item) == type(old_item)
is_same_type = type(new_item) == type(old_item) # noqa: E721
if not is_same_type:
if isinstance(new_item, string_types) and isinstance(old_item, string_types):
# Even though the types are different between these items,
Expand Down

0 comments on commit 6f6dd14

Please sign in to comment.