Skip to content

Commit

Permalink
Merge pull request #2845 from freddydk/master
Browse files Browse the repository at this point in the history
Issue #2842
  • Loading branch information
freddydk committed Jan 11, 2023
2 parents 5aefb02 + cb88d3b commit 227eb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ContainerHandling/traefik/CheckHealth_https.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 227eb45

Please sign in to comment.