mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
cloudstack: _has_changed() should not compare None values
This commit is contained in:
@@ -81,6 +81,10 @@ class AnsibleCloudStack:
|
||||
if only_keys and key not in only_keys:
|
||||
continue;
|
||||
|
||||
# Skip None values
|
||||
if value is None:
|
||||
continue;
|
||||
|
||||
if key in current_dict:
|
||||
|
||||
# API returns string for int in some cases, just to make sure
|
||||
|
||||
Reference in New Issue
Block a user