Skip to content

Commit aa31991

Browse files
committed
lint fix
1 parent 26dc502 commit aa31991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accepter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func TestAcceptor_SetTLSConfig(t *testing.T) {
106106
// as opposed to the Certificates slice, that is static in nature, and is only populated once and needs application restart to reload the certs.
107107
customizedTLSConfig := tls.Config{
108108
Certificates: []tls.Certificate{},
109-
GetCertificate: func(chi *tls.ClientHelloInfo) (*tls.Certificate, error) {
109+
GetCertificate: func(*tls.ClientHelloInfo) (*tls.Certificate, error) {
110110
cert, err := tls.LoadX509KeyPair("_test_data/localhost.crt", "_test_data/localhost.key")
111111
if err != nil {
112112
return nil, err

0 commit comments

Comments
 (0)