From 5cad3f969c4d116731d6574a9e018b1a8479f318 Mon Sep 17 00:00:00 2001 From: yameiwang Date: Sat, 1 Jun 2019 19:07:51 +0800 Subject: [PATCH] kubeadm:fix typo in controlplane.go --- cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go b/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go index 0733c71acdd..29c8cbe8bc6 100644 --- a/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go +++ b/cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go @@ -49,7 +49,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") }