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 /hook/rockethook/rockethook.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 'hook/rockethook/rockethook.go')
-rw-r--r-- | hook/rockethook/rockethook.go | 2 |
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) |