mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-19 04:05:36 +00:00
b1873: Fix status message
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user