mirror of
https://github.com/minio/minio.git
synced 2025-04-17 01:10:29 -04:00
fix: unexpected credentials missing while passing
This commit is contained in:
parent
bd026b913f
commit
b598402738
@ -724,6 +724,7 @@ func (client *peerRESTClient) SpeedTest(ctx context.Context, opts speedTestOpts)
|
|||||||
values.Set(peerRESTBucket, opts.bucketName)
|
values.Set(peerRESTBucket, opts.bucketName)
|
||||||
values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256))
|
values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256))
|
||||||
values.Set(peerRESTEnableMultipart, strconv.FormatBool(opts.enableMultipart))
|
values.Set(peerRESTEnableMultipart, strconv.FormatBool(opts.enableMultipart))
|
||||||
|
values.Set(peerRESTAccessKey, opts.creds.AccessKey)
|
||||||
|
|
||||||
respBody, err := client.callWithContext(context.Background(), peerRESTMethodSpeedTest, values, nil, -1)
|
respBody, err := client.callWithContext(context.Background(), peerRESTMethodSpeedTest, values, nil, -1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user