Commit dabe633c authored by xuezj's avatar xuezj

调试

parent 2012c5ef
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
# 返回2xx, 就绪 # 返回2xx, 就绪
statusCode=`curl -I -o /dev/null -s -w %{http_code} http://localhost/tech/health/check` statusCode=`curl -I -o /dev/null -s -w %{http_code} http://localhost/tech/health/check`
echo "statusCode: ${statusCode}" echo "statusCode: ${statusCode}" >> log.txt
statusCodeFirst="${statusCode:0:1}" statusCodeFirst="${statusCode:0:1}"
echo "statusCodeFirst: ${statusCodeFirst}" echo "statusCodeFirst: ${statusCodeFirst}" >> log.txt
READY=0 READY=0
UNREADY=1 UNREADY=1
...@@ -31,7 +31,6 @@ then ...@@ -31,7 +31,6 @@ then
exit ${READY} exit ${READY}
fi fi
echo "other statusCode: ${statusCode}"
exit ${READY} exit ${READY}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment