Commit 1cb987e8 authored by kalvin's avatar kalvin

修改启动判断

parent a8509766
......@@ -16,7 +16,7 @@ until [[ $count -eq 300 ]] || [[ $is_running -eq 1 ]]
do
let count+=1
echo "count is $count"
curl -X GET -H "Authorization: Basic cWE6cWF0ZXN0" "http://rabbitmq:15672/api/definitions"
curl -X GET -H "Authorization: Basic cWE6cWF0ZXN0" "http://localhost:15672/api/definitions"
if [ $? -eq 0 ]
then
......
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