From cb88d3b51f98e89f96f323fce4f9b6e5184a54eb Mon Sep 17 00:00:00 2001 From: freddydk Date: Wed, 11 Jan 2023 05:31:07 +0100 Subject: [PATCH] Issue #2842 --- ContainerHandling/traefik/CheckHealth_https.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ContainerHandling/traefik/CheckHealth_https.ps1 b/ContainerHandling/traefik/CheckHealth_https.ps1 index e5a48a2df..d929eb1f4 100644 --- a/ContainerHandling/traefik/CheckHealth_https.ps1 +++ b/ContainerHandling/traefik/CheckHealth_https.ps1 @@ -20,7 +20,7 @@ public static class Dummy { $healthcheckurl = ("https://localhost/" + $env:webserverinstance + "/") try { - $result = Invoke-WebRequest -Uri "($healthcheckurl)Health/System" -UseBasicParsing -TimeoutSec 10 + $result = Invoke-WebRequest -Uri "$($healthcheckurl)Health/System" -UseBasicParsing -TimeoutSec 10 if ($result.StatusCode -eq 200 -and ((ConvertFrom-Json $result.Content).result)) { # Web Client Health Check Endpoint will test Web Client, Service Tier and Database Connection exit 0