Skip to content

Commit d19b724

Browse files
authored
Merge pull request kubernetes#86615 from mwmix/cert_logging_update
Updating minor grammar error.
2 parents 75bcc9d + 013994a commit d19b724

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/kubeadm/app/phases/certs/certs.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ func CreatePKIAssets(cfg *kubeadmapi.InitConfiguration) error {
6464
return CreateServiceAccountKeyAndPublicKeyFiles(cfg.CertificatesDir)
6565
}
6666

67-
// CreateServiceAccountKeyAndPublicKeyFiles create a new public/private key files for signing service account users.
68-
// 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.
67+
// CreateServiceAccountKeyAndPublicKeyFiles creates new public/private key files for signing service account users.
68+
// 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.
6969
func CreateServiceAccountKeyAndPublicKeyFiles(certsDir string) error {
70-
klog.V(1).Infoln("creating a new public/private key files for signing service account users")
70+
klog.V(1).Infoln("creating new public/private key files for signing service account users")
7171
_, err := keyutil.PrivateKeyFromFile(filepath.Join(certsDir, kubeadmconstants.ServiceAccountPrivateKeyName))
7272
if err == nil {
7373
// kubeadm doesn't validate the existing certificate key more than this;

0 commit comments

Comments
 (0)