From 57f2af28342995ddfdcf7f2da4d4ca17cee9bea5 Mon Sep 17 00:00:00 2001 From: la3mmchen Date: Wed, 25 Aug 2021 21:53:49 +0200 Subject: [PATCH] FIX: just add a missing word in output --- cmd/kubeadm/app/cmd/phases/join/preflight.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeadm/app/cmd/phases/join/preflight.go b/cmd/kubeadm/app/cmd/phases/join/preflight.go index b74532a894c..e810cfe822f 100644 --- a/cmd/kubeadm/app/cmd/phases/join/preflight.go +++ b/cmd/kubeadm/app/cmd/phases/join/preflight.go @@ -143,7 +143,7 @@ func runPreflight(c workflow.RunData) error { func checkIfReadyForAdditionalControlPlane(initConfiguration *kubeadmapi.ClusterConfiguration, hasCertificateKey bool) error { // blocks if the cluster was created without a stable control plane endpoint if initConfiguration.ControlPlaneEndpoint == "" { - return errors.New("unable to add a new control plane instance a cluster that doesn't have a stable controlPlaneEndpoint address") + return errors.New("unable to add a new control plane instance to a cluster that doesn't have a stable controlPlaneEndpoint address") } if !hasCertificateKey {