Skip to content

Commit 8cacc0a

Browse files
committed
Fix lint
Signed-off-by: Guilherme Carvalho <[email protected]>
1 parent d47e082 commit 8cacc0a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

support/oidc-discovery-provider/cert_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (m *DiskCertManager) TLSConfig() *tls.Config {
6464
}
6565

6666
// getCertificate is called by the TLS stack when a new TLS connection is established.
67-
func (m *DiskCertManager) getCertificate(chInfo *tls.ClientHelloInfo) (*tls.Certificate, error) {
67+
func (m *DiskCertManager) getCertificate(_ *tls.ClientHelloInfo) (*tls.Certificate, error) {
6868
m.certMtx.RLock()
6969
defer m.certMtx.RUnlock()
7070
cert := m.cert

support/oidc-discovery-provider/config_windows_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
package main
55

6-
import "time"
6+
import (
7+
"net"
8+
"time"
9+
)
710

811
var (
912
minimalServerAPIConfig = `

0 commit comments

Comments
 (0)