Commit 034ac8ae by Rene Moser

cloudstack: _has_changed() should not compare None values

parent b11cd73d
...@@ -81,6 +81,10 @@ class AnsibleCloudStack: ...@@ -81,6 +81,10 @@ class AnsibleCloudStack:
if only_keys and key not in only_keys: if only_keys and key not in only_keys:
continue; continue;
# Skip None values
if value is None:
continue;
if key in current_dict: if key in current_dict:
# API returns string for int in some cases, just to make sure # API returns string for int in some cases, just to make sure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment