Skip to content

Commit

Permalink
Use the right HTTP client (#4288)
Browse files Browse the repository at this point in the history
Using the default HTTP client was incorrect.
  • Loading branch information
rdner authored Feb 20, 2024
1 parent 58230ed commit ed1c28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testing/tools/artifacts_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (aac ArtifactAPIClient) RemoveUnreleasedVersions(ctx context.Context, vList
return fmt.Errorf("failed to create an HTTP request to %q: %w", url, err)
}

resp, err := http.DefaultClient.Do(req)
resp, err := aac.c.Do(req)
if err != nil {
return fmt.Errorf("failed to request %q: %w", url, err)
}
Expand Down

0 comments on commit ed1c28c

Please sign in to comment.