作者 yangfu

log/opp 打印日志

@@ -27,11 +27,10 @@ else @@ -27,11 +27,10 @@ else
27 do 27 do
28 kubectl -n mmm-suplus-dev get pods | grep -q opp 28 kubectl -n mmm-suplus-dev get pods | grep -q opp
29 done 29 done
30 - kubectl create -f /tmp/dev/opp/opp.yaml --record 30 + kubectl create -f /tmp/dev/mmm-go-opp/opp.yaml --record
31 kubectl -n mmm-suplus-dev get svc | grep -q opp 31 kubectl -n mmm-suplus-dev get svc | grep -q opp
32 if [ "$?" == "0" ];then 32 if [ "$?" == "0" ];then
33 echo "opp service update success!" 33 echo "opp service update success!"
34 - echo "opp service update success1!"  
35 else 34 else
36 echo "opp service update fail!" 35 echo "opp service update fail!"
37 fi 36 fi