Fix typo in configure ttl code

Change-Id: Ic4c2d34ff248d5429eb604824e42dbaba6ca2678
Closes-Bug: #1939681
This commit is contained in:
Edward Hope-Morley 2023-04-03 14:30:34 +01:00
parent 58b1693f63
commit 6536dda7dd
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ def configure_ttl(vhost, ttlname, ttlreg, ttl):
set_policy(
vhost,
'{ttlname}'.format(ttlname=ttlname),
'"{ttlreg}"'.format(ttlreg=ttlreg),
'{ttlreg}'.format(ttlreg=ttlreg),
'{{"expires":{ttl}}}'.format(ttl=ttl),
priority='1',
apply_to='queues')