Skip to content

Commit

Permalink
fix: unexpected credentials missing while passing
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed May 10, 2024
1 parent bd026b9 commit b598402
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/peer-rest-client.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ func (client *peerRESTClient) SpeedTest(ctx context.Context, opts speedTestOpts)
values.Set(peerRESTBucket, opts.bucketName)
values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256))
values.Set(peerRESTEnableMultipart, strconv.FormatBool(opts.enableMultipart))
values.Set(peerRESTAccessKey, opts.creds.AccessKey)

respBody, err := client.callWithContext(context.Background(), peerRESTMethodSpeedTest, values, nil, -1)
if err != nil {
Expand Down

0 comments on commit b598402

Please sign in to comment.