mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #80891 from bart0sh/PR0076-kubeadm-handle-joinControPlaneDoneTemp.Execute-errors
handle joinControPlaneDoneTemp.Execute errors
This commit is contained in:
commit
f6bc0ea03e
@ -179,7 +179,8 @@ func NewCmdJoin(out io.Writer, joinOptions *joinOptions) *cobra.Command {
|
||||
"KubeConfigPath": kubeadmconstants.GetAdminKubeConfigPath(),
|
||||
"etcdMessage": etcdMessage,
|
||||
}
|
||||
joinControPlaneDoneTemp.Execute(data.outputWriter, ctx)
|
||||
err = joinControPlaneDoneTemp.Execute(data.outputWriter, ctx)
|
||||
kubeadmutil.CheckErr(err)
|
||||
|
||||
} else {
|
||||
// otherwise, if the node joined as a worker node;
|
||||
|
Loading…
Reference in New Issue
Block a user