From 5ff4197572e6ee1ca17713a18b449628a55f7a96 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 28 Feb 2022 09:48:24 +0100 Subject: [PATCH] fix: missing fqdn for services --- src/lib/haproxy/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/haproxy/index.ts b/src/lib/haproxy/index.ts index 0d1d14fd2..fffba0ba7 100644 --- a/src/lib/haproxy/index.ts +++ b/src/lib/haproxy/index.ts @@ -620,6 +620,9 @@ export async function configureSimpleServiceProxyOn({ id, domain, port }) { } export async function configureSimpleServiceProxyOff(fqdn) { + if (!fqdn) { + return; + } const domain = getDomain(fqdn); const haproxy = await haproxyInstance(); await checkHAProxy(haproxy);