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