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