From af7a00d030b89a0fa1c85da8f3a1485c8a757fa1 Mon Sep 17 00:00:00 2001 From: Duco van Amstel Date: Wed, 5 Dec 2018 23:40:55 +0000 Subject: Enable gosec linter (#645) --- matterhook/matterhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'matterhook') diff --git a/matterhook/matterhook.go b/matterhook/matterhook.go index f602ed44..f5133112 100644 --- a/matterhook/matterhook.go +++ b/matterhook/matterhook.go @@ -71,7 +71,7 @@ type Config struct { func New(url string, config Config) *Client { c := &Client{Url: url, In: make(chan IMessage), Out: make(chan OMessage), 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} if !c.DisableServer { -- cgit v1.2.3