Fix consul address in levant
This commit is contained in:
parent
5583b2d38e
commit
5165045ee9
@ -34,6 +34,9 @@ template_path = query["template_path"]
|
|||||||
|
|
||||||
# Optional
|
# Optional
|
||||||
consul_address = query.get("consul_address")
|
consul_address = query.get("consul_address")
|
||||||
|
if consul_address is not None:
|
||||||
|
consul_address = f"-consul-address={consul_address}"
|
||||||
|
|
||||||
# Need to parse JSON back
|
# Need to parse JSON back
|
||||||
variables = [
|
variables = [
|
||||||
f'--var={key}={value}' for key, value in get_json(query, "variables", {}).items()
|
f'--var={key}={value}' for key, value in get_json(query, "variables", {}).items()
|
||||||
|
Loading…
Reference in New Issue
Block a user