From cc7bad8b94a931406c74cb6a11a499966680f476 Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Wed, 8 May 2024 13:37:54 -0600 Subject: [PATCH] Minor tweaks --- internal/collect.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/internal/collect.go b/internal/collect.go index b1ce902..41f3cdc 100644 --- a/internal/collect.go +++ b/internal/collect.go @@ -5,7 +5,6 @@ import ( "crypto/tls" "encoding/json" "fmt" - "net" "net/http" "os" "path" @@ -522,13 +521,6 @@ func makeGofishConfig(q *QueryParams) (gofish.ClientConfig, error) { TLSClientConfig: &tls.Config{ InsecureSkipVerify: true, }, - DisableKeepAlives: true, - Dial: (&net.Dialer{ - Timeout: 120 * time.Second, - KeepAlive: 120 * time.Second, - }).Dial, - TLSHandshakeTimeout: 120 * time.Second, - ResponseHeaderTimeout: 120 * time.Second, }, } url = baseRedfishUrl(q)