mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #78615 from mysunshine92/fix-kubeadm
kubeadm:fix typo in controlplane.go
This commit is contained in:
commit
10fb09da4d
@ -51,7 +51,7 @@ func runControlPlane() func(c workflow.RunData) error {
|
|||||||
return errors.New("control-plane phase invoked with an invalid data struct")
|
return errors.New("control-plane phase invoked with an invalid data struct")
|
||||||
}
|
}
|
||||||
|
|
||||||
// if this is not a control-plande node, this phase should not be executed
|
// if this is not a control-plane node, this phase should not be executed
|
||||||
if !data.IsControlPlaneNode() {
|
if !data.IsControlPlaneNode() {
|
||||||
fmt.Printf("[upgrade] Skipping phase. Not a control plane node")
|
fmt.Printf("[upgrade] Skipping phase. Not a control plane node")
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user