From 8bb184085bb32d76116f8d128e9373e98e11987e Mon Sep 17 00:00:00 2001 From: shawnh2 Date: Thu, 25 Jul 2024 21:59:19 +0800 Subject: [PATCH] fix lint nolint: gosec Signed-off-by: shawnh2 --- test/benchmark/suite/report.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/benchmark/suite/report.go b/test/benchmark/suite/report.go index 0abe32dbeb80..849567baf6a1 100644 --- a/test/benchmark/suite/report.go +++ b/test/benchmark/suite/report.go @@ -188,7 +188,7 @@ func (r *BenchmarkReport) getResponseFromPortForwarder(pod *types.NamespacedName // Retrieving response by requesting Pod with url endpoint. url := fmt.Sprintf("http://%s%s", fw.Address(), endpoint) - resp, err := http.Get(url) + resp, err := http.Get(url) // nolint: gosec if err != nil { return nil, fmt.Errorf("failed to get request: %w", err) }