mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-14 13:32:07 +00:00
Fixed check for None in os_port
Fix bug introduced in commit cac93cb
cac93cbd1f
Task: 40928
Story: 2008173
Change-Id: I990a68d4e24c3c3953010e4053c73454e56f0d64
This commit is contained in:
@@ -290,7 +290,7 @@ def _needs_update(module, port, cloud):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
for key in compare_list_dict:
|
for key in compare_list_dict:
|
||||||
if not module.params[key]:
|
if module.params[key]:
|
||||||
if not port[key]:
|
if not port[key]:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user