Commit 9b18cf18 authored by 黎博's avatar 黎博

去掉无用日志

parent 0e21eb62
...@@ -21,7 +21,6 @@ echo 172.20.3.11 sentry.quantgroups.com >> /etc/hosts ...@@ -21,7 +21,6 @@ echo 172.20.3.11 sentry.quantgroups.com >> /etc/hosts
# dubboPort=`curl -s -m 5 curl 'http://qaapi.liangkebang.com/k8s/service/details' -H 'cluster: qa' -H 'content-type: application/json;charset=UTF-8' --data-binary "{\"serviceName\":\"${SYSTEM_NAME}\",\"namespace\":\"${NAMESPACE}\",\"type\":\"java\",\"key\":\"port_20880\"}"` # dubboPort=`curl -s -m 5 curl 'http://qaapi.liangkebang.com/k8s/service/details' -H 'cluster: qa' -H 'content-type: application/json;charset=UTF-8' --data-binary "{\"serviceName\":\"${SYSTEM_NAME}\",\"namespace\":\"${NAMESPACE}\",\"type\":\"java\",\"key\":\"port_20880\"}"`
dubboPort=`curl -s -m 5 "http://holmes.liangkebang.com/k8s/dubbo/port?namespace=$NAMESPACE&serviceType=java&serviceName=${SYSTEM_NAME}&key=port_20880"` dubboPort=`curl -s -m 5 "http://holmes.liangkebang.com/k8s/dubbo/port?namespace=$NAMESPACE&serviceType=java&serviceName=${SYSTEM_NAME}&key=port_20880"`
echo "获取到的dubboPort为: $dubboPort"
if [[ ${#dubboPort} == 5 ]];then if [[ ${#dubboPort} == 5 ]];then
echo dubboPort echo dubboPort
echo $dubboPort echo $dubboPort
......
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