From cb878528256d490020f3cc18943f9809f68a5d26 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Thu, 10 Nov 2022 08:04:47 +0000 Subject: [PATCH] Add nolint to gosec stuff that doesnt matter because test Signed-off-by: Kristoffer Dalby --- integration/hsic/hsic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/hsic/hsic.go b/integration/hsic/hsic.go index f67805b1..846813d7 100644 --- a/integration/hsic/hsic.go +++ b/integration/hsic/hsic.go @@ -263,8 +263,8 @@ func (t *HeadscaleInContainer) WaitForReady() error { client := &http.Client{} if t.hasTLS() { - insecureTransport := http.DefaultTransport.(*http.Transport).Clone() - insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true} + insecureTransport := http.DefaultTransport.(*http.Transport).Clone() //nolint + insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true} //nolint client = &http.Client{Transport: insecureTransport} }