mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
fix ruff case SIM110 (#11215)
* fix ruff case SIM110 * Update plugins/module_utils/xenserver.py Co-authored-by: Felix Fontein <felix@fontein.de> * add changelog frag --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -230,7 +230,4 @@ class UTM:
|
||||
:param result: The result from the query
|
||||
:return:
|
||||
"""
|
||||
for key in keys:
|
||||
if module.params.get(key) != result[key]:
|
||||
return True
|
||||
return False
|
||||
return any(module.params.get(key) != result[key] for key in keys)
|
||||
|
||||
Reference in New Issue
Block a user