mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Merge pull request #20234 from mml/update-objects
Auto commit by PR queue bot
This commit is contained in:
commit
e4c5f892c6
@ -62,10 +62,11 @@ function startApiServer() {
|
||||
|
||||
function killApiServer() {
|
||||
kube::log::status "Killing api server"
|
||||
[[ -n ${APISERVER_PID-} ]] && kill ${APISERVER_PID} 1>&2 2>/dev/null
|
||||
|
||||
wait ${APISERVER_PID} || true
|
||||
kube::log::status "api server exited"
|
||||
if [[ -n ${APISERVER_PID-} ]]; then
|
||||
kill ${APISERVER_PID} 1>&2 2>/dev/null
|
||||
wait ${APISERVER_PID} || true
|
||||
kube::log::status "api server exited"
|
||||
fi
|
||||
unset APISERVER_PID
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user