diff --git a/go/cmd/staging_api_test/generator.go b/go/cmd/staging_api_test/generator.go index d3e05bd3332..16de662f3bc 100644 --- a/go/cmd/staging_api_test/generator.go +++ b/go/cmd/staging_api_test/generator.go @@ -288,11 +288,9 @@ func newHTTPClient() *http.Client { } // executeRequest sends an HTTP request and updates stats. -// -//nolint:gosec // G704: Staging API load testing client func executeRequest(ctx context.Context, client *http.Client, req *http.Request, stats *GeneratorStats) { req = req.WithContext(ctx) - resp, err := client.Do(req) + resp, err := client.Do(req) // #nosec G704: Staging API load testing client if err != nil { if ctx.Err() == nil { logger.Warn("Failed to send HTTP request",