Skip to content

Commit

Permalink
Also download from spaces endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Oct 2, 2023
1 parent 16c2eca commit a8a1bb7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ func Download(ctx context.Context, gw gatewayv1beta1.GatewayAPIClient, ref *prov

var token, endpoint string
for _, p := range res.Protocols {
if p.Protocol == "simple" {
token, endpoint = p.Token, p.DownloadEndpoint
}
token, endpoint = p.Token, p.DownloadEndpoint
}
httpReq, err := rhttp.NewRequest(ctx, http.MethodGet, endpoint, nil)
if err != nil {
Expand Down

0 comments on commit a8a1bb7

Please sign in to comment.