Meraki - Remove type comparison for idempotency check (#65338)

* Remove type comparison in is_update_required()

* Add changelog
This commit is contained in:
Kevin Breit 2019-12-04 09:39:26 -06:00 committed by Nathaniel Case
parent f4a9f23a1b
commit 79b088aeba
2 changed files with 2 additions and 3 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- meraki - Idempotency check no longer compares types of objects

View file

@ -230,9 +230,6 @@ class MerakiModule(object):
if optional_ignore is not None: if optional_ignore is not None:
self.ignored_keys = self.ignored_keys + optional_ignore self.ignored_keys = self.ignored_keys + optional_ignore
if type(original) != type(proposed):
# self.fail_json(msg="Types don't match")
return True
if isinstance(original, list): if isinstance(original, list):
if len(original) != len(proposed): if len(original) != len(proposed):
# self.fail_json(msg="Length of lists don't match") # self.fail_json(msg="Length of lists don't match")