FIX: just add a missing word in output

This commit is contained in:
la3mmchen 2021-08-25 21:53:49 +02:00
parent cd80d70c3d
commit 57f2af2834

View File

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