Skip to content

Commit

Permalink
Merge pull request #171 from anyachuan/main
Browse files Browse the repository at this point in the history
修改单节点连接api失败后以状态码0退出脚本,不进行重启操作
  • Loading branch information
Dot-Liu authored Nov 10, 2024
2 parents add599e + bb74784 commit ff851c4
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 ff851c4

Please sign in to comment.