From 013994a740879a3b2d60af5ad835f869126cf3f4 Mon Sep 17 00:00:00 2001 From: Matthew Mix Date: Wed, 25 Dec 2019 12:57:37 -0500 Subject: [PATCH] Updating minor grammar errors. --- cmd/kubeadm/app/phases/certs/certs.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/kubeadm/app/phases/certs/certs.go b/cmd/kubeadm/app/phases/certs/certs.go index c9a528ce0ca..50bffd1b0a4 100644 --- a/cmd/kubeadm/app/phases/certs/certs.go +++ b/cmd/kubeadm/app/phases/certs/certs.go @@ -64,10 +64,10 @@ func CreatePKIAssets(cfg *kubeadmapi.InitConfiguration) error { return CreateServiceAccountKeyAndPublicKeyFiles(cfg.CertificatesDir) } -// CreateServiceAccountKeyAndPublicKeyFiles create a new public/private key files for signing service account users. -// If the sa public/private key files already exists in the target folder, they are used only if evaluated equals; otherwise an error is returned. +// CreateServiceAccountKeyAndPublicKeyFiles creates new public/private key files for signing service account users. +// If the sa public/private key files already exist in the target folder, they are used only if evaluated equals; otherwise an error is returned. func CreateServiceAccountKeyAndPublicKeyFiles(certsDir string) error { - klog.V(1).Infoln("creating a new public/private key files for signing service account users") + klog.V(1).Infoln("creating new public/private key files for signing service account users") _, err := keyutil.PrivateKeyFromFile(filepath.Join(certsDir, kubeadmconstants.ServiceAccountPrivateKeyName)) if err == nil { // kubeadm doesn't validate the existing certificate key more than this;