Fix incorrect use of wget in CoreDNS health
The previous command created a file in /health, which caused the check to fail after the first run. Change-Id: I2150d40e917567a4072a1565c1b96089f3d6fd2b
This commit is contained in:
parent
faf5a9a2d0
commit
8fee9322ab
|
@ -5,7 +5,7 @@ set -x
|
||||||
SUCCESS=1
|
SUCCESS=1
|
||||||
|
|
||||||
{{/* Use built-in health check */}}
|
{{/* Use built-in health check */}}
|
||||||
if ! wget http://localhost:8080/health; then
|
if ! wget -O - http://127.0.0.1:8080/health; then
|
||||||
echo "Failed CoreDNS health check endpoint"
|
echo "Failed CoreDNS health check endpoint"
|
||||||
SUCCESS=0
|
SUCCESS=0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue