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:
Mark Burnett 2018-06-14 10:34:42 -05:00
parent faf5a9a2d0
commit 8fee9322ab
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -x
SUCCESS=1
{{/* 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"
SUCCESS=0
fi