diff options
author | Yolan Romailler <[email protected]> | 2024-01-25 16:24:58 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-25 15:24:58 +0000 |
commit | 2fe69a828f9fcacc0160a576839d4b67c5730031 (patch) | |
tree | fa8b74d9a53d9eab3011f50d710481647b1f0fdd /modules/caddyhttp/reverseproxy/httptransport.go | |
parent | c369df5c375685f35f5b9f47f5790124c28258c9 (diff) | |
download | caddy-2fe69a828f9fcacc0160a576839d4b67c5730031.tar.gz caddy-2fe69a828f9fcacc0160a576839d4b67c5730031.zip |
chore: enabling a few more linters (#5961)
Co-authored-by: Francis Lavoie <[email protected]>
Diffstat (limited to 'modules/caddyhttp/reverseproxy/httptransport.go')
-rw-r--r-- | modules/caddyhttp/reverseproxy/httptransport.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/httptransport.go b/modules/caddyhttp/reverseproxy/httptransport.go index 5993b7b11..0a803a83a 100644 --- a/modules/caddyhttp/reverseproxy/httptransport.go +++ b/modules/caddyhttp/reverseproxy/httptransport.go @@ -560,7 +560,6 @@ func (t TLSConfig) MakeTLSClientConfig(ctx caddy.Context) (*tls.Config, error) { return nil, fmt.Errorf("failed reading ca cert: %v", err) } rootPool.AppendCertsFromPEM(pemData) - } cfg.RootCAs = rootPool } |