diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 8d13f9be9..e27e3a60a 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -6070,8 +6070,8 @@ func (f *Fs) OpenChunkWriter(ctx context.Context, remote string, src fs.ObjectIn chunkSize: int64(chunkSize), size: size, f: f, - bucket: mOut.Bucket, - key: mOut.Key, + bucket: ui.req.Bucket, + key: ui.req.Key, uploadID: mOut.UploadId, multiPartUploadInput: &mReq, completedParts: make([]types.CompletedPart, 0),