b1873: Fix status message

This commit is contained in:
Thomas G Stokes
2024-02-29 18:28:35 +01:00
parent a566eb8dbb
commit e5503646d3
@@ -18,7 +18,7 @@ SELF_IP=$( ec2-metadata --local-ipv4 | grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-
curl --silent --location --fail "http://${SELF_IP}/internal-server-status" >/dev/null
if [[ "$?" -eq 0 ]]; then
status "200"
outputMessage "failover at play: force healthy"
outputMessage "Healthy"
else
status "500 Reverse proxy itself is unhealthy"
outputMessage "Reverse proxy is unhealthy"