Skip to content

Commit

Permalink
修改单节点连接api失败后以状态码0退出脚本,不进行重启操作
Browse files Browse the repository at this point in the history
  • Loading branch information
anyachuan committed Nov 7, 2024
1 parent 1bb52a2 commit bb74784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/resources/join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ response=$(curl -s "https://kubernetes.default.svc:443/api/v1/namespaces/${SVC_N
if [[ ${response} =~ 'Failure' ]]
then
echo ${response}
exit 1
exit 0
fi

set +e
Expand Down

0 comments on commit bb74784

Please sign in to comment.