aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/reverseproxy/httptransport.go
diff options
context:
space:
mode:
authorYolan Romailler <[email protected]>2024-01-25 16:24:58 +0100
committerGitHub <[email protected]>2024-01-25 15:24:58 +0000
commit2fe69a828f9fcacc0160a576839d4b67c5730031 (patch)
treefa8b74d9a53d9eab3011f50d710481647b1f0fdd /modules/caddyhttp/reverseproxy/httptransport.go
parentc369df5c375685f35f5b9f47f5790124c28258c9 (diff)
downloadcaddy-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.go1
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
}