diff --git a/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go b/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go index 9f213d48e5d..b931e17458b 100644 --- a/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go +++ b/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go @@ -51,7 +51,7 @@ func runControlPlane() func(c workflow.RunData) error { 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() { fmt.Printf("[upgrade] Skipping phase. Not a control plane node") return nil