Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions go/cmd/staging_api_test/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading