mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Correct comment in CertOrKeyExist
This commit is contained in:
parent
518ff2a405
commit
55cc0e2957
@ -198,7 +198,7 @@ func CertOrKeyExist(pkiPath, name string) bool {
|
||||
_, certErr := os.Stat(certificatePath)
|
||||
_, keyErr := os.Stat(privateKeyPath)
|
||||
if os.IsNotExist(certErr) && os.IsNotExist(keyErr) {
|
||||
// The cert or the key did not exist
|
||||
// The cert and the key do not exist
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user