diff options
author | Duco van Amstel <duco.vanamstel@gmail.com> | 2018-12-05 23:40:55 +0000 |
---|---|---|
committer | Wim <wim@42.be> | 2018-12-06 00:40:55 +0100 |
commit | af7a00d030b89a0fa1c85da8f3a1485c8a757fa1 (patch) | |
tree | e7d2a3e0f309eca268f4ff3599468c5af94d169a /matterhook/matterhook.go | |
parent | 8a7efce941acf7123481d58c6bf5b5421c25736d (diff) | |
download | matterbridge-msglm-af7a00d030b89a0fa1c85da8f3a1485c8a757fa1.tar.gz matterbridge-msglm-af7a00d030b89a0fa1c85da8f3a1485c8a757fa1.tar.bz2 matterbridge-msglm-af7a00d030b89a0fa1c85da8f3a1485c8a757fa1.zip |
Enable gosec linter (#645)
Diffstat (limited to 'matterhook/matterhook.go')
-rw-r--r-- | matterhook/matterhook.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |