Fix a typo in an error message
This commit is contained in:
parent
e385c05a80
commit
33715a9c8e
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ func (ic *GenericController) getPemCertificate(secretName string) (*ingress.SSLC
|
||||||
glog.Infof("found only ca.crt, configuring %v as an Certificate Authentication secret", secretName)
|
glog.Infof("found only ca.crt, configuring %v as an Certificate Authentication secret", secretName)
|
||||||
s, err = ssl.AddCertAuth(nsSecName, ca)
|
s, err = ssl.AddCertAuth(nsSecName, ca)
|
||||||
} else {
|
} else {
|
||||||
return nil, fmt.Errorf("ko keypair or CA cert could be found in %v", secretName)
|
return nil, fmt.Errorf("no keypair or CA cert could be found in %v", secretName)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue