mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
kubeadm:fix typo in controlplane.go
This commit is contained in:
parent
89ae84d478
commit
5cad3f969c
@ -49,7 +49,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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user