1
0
Fork 0
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:
Rene Moser 2015-05-01 17:25:06 +02:00
parent b11cd73df1
commit 034ac8ae78

View file

@ -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