Commit 6153fe9a authored by Paul Graydon's avatar Paul Graydon

software/wendelin-telecom: Update shared instance parameter name

parent 3021db4a
......@@ -4,4 +4,4 @@ md5sum = 79e4a9d4c632eaf0472929464a12e768
[template-wendelin-telecom]
filename = instance-wendelin-telecom.cfg.in
md5sum = 5ed2d5da369b5b73eabf8045666ebebc
md5sum = 69a3e01ed92feda544ec2519746a5d49
......@@ -2,9 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"ors-tag": {
"fluentbit-tag": {
"description": "Fluentbit tag of the ORS to register",
"title": "ORS Tag",
"title": "Fluentbit Tag",
"type": "string"
}
}
......
......@@ -52,12 +52,12 @@ update =
slave_reference = slave['slave_reference']
try:
ors_tag = slave['ors-tag']
fluentbit_tag = slave['fluentbit-tag']
except KeyError as err:
log.fatal("%s: Parameter %s not found, skipping registration" % (slave_reference, err))
continue
request_url = "%s/%s/ERP5Site_registerOrs?ors_tag=%s" % (wendelin_telecom_backend_url, wendelin_telecom_site_id, ors_tag)
request_url = "%s/%s/ERP5Site_registerOrs?fluentbit_tag=%s" % (wendelin_telecom_backend_url, wendelin_telecom_site_id, fluentbit_tag)
response = requests.get(request_url, verify=False, auth=(inituser_login, inituser_password))
response = response.json()
......
......@@ -34,7 +34,7 @@ depends =
<= erp5
repository = https://lab.nexedi.com/paul.graydon/wendelin-telecom.git
branch = master
revision = d29e4e3ede129af6b2ba2726e0b4b4e1f324ea0d
revision = c53925b189a4721fd99d7609fd589510ee3b318e
[local-bt5-repository]
list += ${wendelin-telecom:location}/bt5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment