Skip to content

Commit 55cc0e2

Browse files
tedyuyutedz
authored andcommitted
Correct comment in CertOrKeyExist
1 parent 518ff2a commit 55cc0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubeadm/app/util/pkiutil/pki_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func CertOrKeyExist(pkiPath, name string) bool {
198198
_, certErr := os.Stat(certificatePath)
199199
_, keyErr := os.Stat(privateKeyPath)
200200
if os.IsNotExist(certErr) && os.IsNotExist(keyErr) {
201-
// The cert or the key did not exist
201+
// The cert and the key do not exist
202202
return false
203203
}
204204

0 commit comments

Comments
 (0)