From a4c2d29eff0169f31d7eb3c3554af85b6dded3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D1=80=D0=B8=D1=8F=20=D0=9C=D0=B0=D0=BB=D1=8B?= =?UTF-8?q?=D0=B3=D0=B8=D0=BD=D0=B0?= Date: Mon, 17 Jul 2023 17:59:21 +0300 Subject: [PATCH] add multipart description to scenarios.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Мария Малыгина --- internal/s3/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/s3/client.go b/internal/s3/client.go index dbe9825..c7fbe89 100644 --- a/internal/s3/client.go +++ b/internal/s3/client.go @@ -84,7 +84,7 @@ func (c *Client) Multipart(bucket, key string, objPartSize int, payload goja.Arr u.PartSize = int64(objPartSize) u.Concurrency = concurrency }) - _, err := uploader.Upload(context.TODO(), &s3.PutObjectInput{ + _, err := uploader.Upload(c.vu.Context(), &s3.PutObjectInput{ Bucket: aws.String(bucket), Key: aws.String(key), Body: bytes.NewReader(payload.Bytes()),