mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cloudstack: _has_changed() should not compare None values
This commit is contained in:
parent
b11cd73df1
commit
034ac8ae78
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue