mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 11:58:43 +00:00
Ignore sanity check. (#679)
This commit is contained in:
parent
e21d6d380c
commit
6f6dd14492
@ -1149,7 +1149,7 @@ def has_list_changed(new_list, old_list, sort_lists=True, sort_key=None):
|
|||||||
else:
|
else:
|
||||||
zip_data = zip(new_list, old_list)
|
zip_data = zip(new_list, old_list)
|
||||||
for new_item, old_item in zip_data:
|
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 not is_same_type:
|
||||||
if isinstance(new_item, string_types) and isinstance(old_item, string_types):
|
if isinstance(new_item, string_types) and isinstance(old_item, string_types):
|
||||||
# Even though the types are different between these items,
|
# Even though the types are different between these items,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user