diff --git a/levant/levant.py b/levant/levant.py index 60375c0..023d6be 100755 --- a/levant/levant.py +++ b/levant/levant.py @@ -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()