make linter happy
This commit is contained in:
parent
abe2dd0d17
commit
1f22825e50
|
|
@ -308,7 +308,7 @@ func (t *tlsLoader) LoadCert() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *tlsLoader) GetCertificate(info *tls.ClientHelloInfo) (*tls.Certificate, error) {
|
func (t *tlsLoader) GetCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error) {
|
||||||
if t.cert == nil {
|
if t.cert == nil {
|
||||||
return nil, fmt.Errorf("no certificate")
|
return nil, fmt.Errorf("no certificate")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue