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:
Jakob Meng
2020-09-21 14:59:07 +02:00
parent a4e6d1b67c
commit e4a223d160

View File

@@ -290,7 +290,7 @@ def _needs_update(module, port, cloud):
return True
for key in compare_list_dict:
if not module.params[key]:
if module.params[key]:
if not port[key]:
return True