Skip to content

Commit

Permalink
turn of insecure TLS linter for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
arjan-bal committed Aug 28, 2024
1 parent cb7cb1e commit 1b94310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion credentials/credentials_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func tlsServerHandshake(conn net.Conn) (AuthInfo, error) {

func tlsClientHandshake(conn net.Conn, _ string) (AuthInfo, error) {
clientTLSConfig := &tls.Config{
InsecureSkipVerify: true,
InsecureSkipVerify: true, // NOLINT
NextProtos: []string{"h2"},
}
clientConn := tls.Client(conn, clientTLSConfig)
Expand Down

0 comments on commit 1b94310

Please sign in to comment.