Fix consul address in levant

This commit is contained in:
IamTheFij 2022-07-21 20:11:21 -07:00
parent 5583b2d38e
commit 5165045ee9

View File

@ -34,6 +34,9 @@ template_path = query["template_path"]
# Optional
consul_address = query.get("consul_address")
if consul_address is not None:
consul_address = f"-consul-address={consul_address}"
# Need to parse JSON back
variables = [
f'--var={key}={value}' for key, value in get_json(query, "variables", {}).items()