From 266b7bfd62957220789e6c79479a0d035b0f7ed5 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Thu, 19 Sep 2024 18:19:13 +0100 Subject: [PATCH] fix(deployment): hotfix mistake in my changes to deploy.py --- deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.py b/deploy.py index 4ce207c97..715a820bf 100755 --- a/deploy.py +++ b/deploy.py @@ -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 = [