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

pull/14229/head
Manuel Sousa 8 years ago committed by René Moser
parent c2370f14dd
commit 8b4f5ba064

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

Loading…
Cancel
Save