Skip to content

Commit

Permalink
hot fix tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Sep 19, 2024
1 parent adf168d commit c201463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def generate_config(
):
if from_live and live_host:
number_of_dots = live_host.count(".")
if number_of_dots <= 2: # this is an imperfect hack
if number_of_dots < 2: # this is an imperfect hack
raise ValueError("Currently only subdomains are supported as live-hosts")
# To be able to cope with top level domains we need more logic to use the right subdomain separator - but we should probably avoid this anyway as we shouldn't use production domains
helm_template_cmd = [
Expand Down

0 comments on commit c201463

Please sign in to comment.