mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 17:03:06 +00:00
Add nolint to gosec stuff that doesnt matter because test
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
69440058bb
commit
cb87852825
1 changed files with 2 additions and 2 deletions
|
@ -263,8 +263,8 @@ func (t *HeadscaleInContainer) WaitForReady() error {
|
||||||
client := &http.Client{}
|
client := &http.Client{}
|
||||||
|
|
||||||
if t.hasTLS() {
|
if t.hasTLS() {
|
||||||
insecureTransport := http.DefaultTransport.(*http.Transport).Clone()
|
insecureTransport := http.DefaultTransport.(*http.Transport).Clone() //nolint
|
||||||
insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
|
insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true} //nolint
|
||||||
client = &http.Client{Transport: insecureTransport}
|
client = &http.Client{Transport: insecureTransport}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue