Mariano Cano 6 лет назад
Родитель
Сommit
1d7ab9145a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      ca/tls.go

+ 1 - 0
ca/tls.go

@@ -153,6 +153,7 @@ func (c *Client) buildDialTLS(ctx *TLSOptionCtx) func(network, addr string) (net
 }
 
 // buildDialTLSContext returns an implementation of DialTLSContext callback in http.Transport.
+// nolint:unused
 func (c *Client) buildDialTLSContext(tlsCtx *TLSOptionCtx) func(ctx context.Context, network, addr string) (net.Conn, error) {
 	return func(ctx context.Context, network, addr string) (net.Conn, error) {
 		// TLS dialers do not support context, but we can use the context