bug fix
This commit is contained in:
parent
9d38355517
commit
a9a3cbc573
@ -41,7 +41,7 @@ def prepare_user_data(context, hostname, service, unit, template='Default', **kw
|
|||||||
'%RABBITMQ_HOST%', settings.host)
|
'%RABBITMQ_HOST%', settings.host)
|
||||||
template_data = template_data.replace(
|
template_data = template_data.replace(
|
||||||
'%RABBITMQ_INPUT_QUEUE%',
|
'%RABBITMQ_INPUT_QUEUE%',
|
||||||
'-'.join([str(context['/dataSource']['id']),
|
'-'.join([str(context['/dataSource']['name']),
|
||||||
str(service), str(unit)]).lower()
|
str(service), str(unit)]).lower()
|
||||||
)
|
)
|
||||||
template_data = template_data.replace(
|
template_data = template_data.replace(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user