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

Fix #23338 - rabbitmq_queue message ttl can't be 0 (#23448)

This commit is contained in:
Manuel Sousa 2017-04-14 23:51:40 +01:00 committed by René Moser
parent c2370f14dd
commit 8b4f5ba064

View file

@ -224,7 +224,7 @@ def main():
'dead_letter_exchange': 'x-dead-letter-exchange',
'dead_letter_routing_key': 'x-dead-letter-routing-key'
}.items():
if module.params[k]:
if module.params[k] is not None:
module.params['arguments'][v] = module.params[k]
# Exit if check_mode