summaryrefslogtreecommitdiffstats
path: root/hook
diff options
context:
space:
mode:
Diffstat (limited to 'hook')
-rw-r--r--hook/rockethook/rockethook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook/rockethook/rockethook.go b/hook/rockethook/rockethook.go
index 063be742..1ac8cb02 100644
--- a/hook/rockethook/rockethook.go
+++ b/hook/rockethook/rockethook.go
@@ -38,7 +38,7 @@ type Config struct {
func New(url string, config Config) *Client {
c := &Client{In: make(chan Message), Config: config}
tr := &http.Transport{
- TLSClientConfig: &tls.Config{InsecureSkipVerify: config.InsecureSkipVerify},
+ TLSClientConfig: &tls.Config{InsecureSkipVerify: config.InsecureSkipVerify}, //nolint:gosec
}
c.httpclient = &http.Client{Transport: tr}
_, _, err := net.SplitHostPort(c.BindAddress)