curl 오타 수정
This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
success=false
|
success=false
|
||||||
for i in $(seq 1 5); do
|
for i in $(seq 1 5); do
|
||||||
response=$(curl -s -o /dev/null -w "%{\http_code}" http://172.16.10.176:8888/health/API)
|
response=$(curl -s -o /dev/null -w "%{http_code}" http://172.16.10.176:8888/health/API)
|
||||||
content=$(curl -s http://172.16.10.176:8888/health/API)
|
content=$(curl -s http://172.16.10.176:8888/health/API)
|
||||||
|
|
||||||
if [ "$response" -eq 200 ] && echo "$content" | grep -q "ok"; then
|
if [ "$response" -eq 200 ] && echo "$content" | grep -q "ok"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user