Skip to content

Commit 2c64627

Browse files
authored
Merge pull request kubernetes#81918 from tedyu/pki-comment
Correct comment in CertOrKeyExist
2 parents 52f708d + 55cc0e2 commit 2c64627

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)