Merge pull request #78615 from mysunshine92/fix-kubeadm

kubeadm:fix typo in controlplane.go
This commit is contained in:
Kubernetes Prow Robot 2019-06-14 07:58:51 -07:00 committed by GitHub
commit 10fb09da4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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