Skip to content

Commit

Permalink
Merge pull request #11089 from chewong/try-or-die-command-1.31
Browse files Browse the repository at this point in the history
🐛 always declare try-or-die-command function in kubeadm-bootstrap-script.sh
  • Loading branch information
k8s-ci-robot authored Aug 23, 2024
2 parents 1b3e4a7 + 0bd49f5 commit 057fdff
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ function retry-command() {
fi
}

# {{ if .ControlPlane }}
function try-or-die-command() {
local kubeadm_return
log::info "running '$*'"
Expand All @@ -118,7 +117,6 @@ function try-or-die-command() {
log::error_exit "fatal error, exiting" "${kubeadm_return}"
fi
}
# {{ end }}

retry-command kubeadm join phase preflight --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests
# {{ if .ControlPlane }}
Expand Down

0 comments on commit 057fdff

Please sign in to comment.