Skip to content

Commit fe1beea

Browse files
Fix missed connOption when exporting ConnOption type (#238)
Follow up on #202 Signed-off-by: Levko Kravets <[email protected]>
1 parent f0e3a08 commit fe1beea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func WithSessionParams(params map[string]string) ConnOption {
236236
// WARNING:
237237
// When this option is used, TLS is susceptible to machine-in-the-middle attacks.
238238
// Please only use this option when the hostname is an internal private link hostname
239-
func WithSkipTLSHostVerify() connOption {
239+
func WithSkipTLSHostVerify() ConnOption {
240240
return func(c *config.Config) {
241241
if c.TLSConfig == nil {
242242
c.TLSConfig = &tls.Config{MinVersion: tls.VersionTLS12, InsecureSkipVerify: true} // #nosec G402

0 commit comments

Comments
 (0)