forked from TrueCloudLab/certificates
Avoid lint error.
This commit is contained in:
parent
0b62ce9d0e
commit
1d7ab9145a
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
// 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) {
|
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) {
|
return func(ctx context.Context, network, addr string) (net.Conn, error) {
|
||||||
// TLS dialers do not support context, but we can use the context
|
// TLS dialers do not support context, but we can use the context
|
||||||
|
|
Loading…
Reference in a new issue