1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[AWS] Add check for empty values in elasticache module - fixes #40063 (#40454)

This commit is contained in:
Moritz Grimm 2018-05-25 19:09:11 +02:00 committed by Ryan Brown
parent de57fa71c1
commit f16ec4e64c

View file

@ -369,7 +369,7 @@ class ElastiCacheManager(object):
'EngineVersion': self.cache_engine_version
}
for key, value in modifiable_data.items():
if value is not None and self.data[key] != value:
if value is not None and value and self.data[key] != value:
return True
# Check cache security groups