Skip to content

Commit c8dbba6

Browse files
committed
fixups
1 parent 4f7ad81 commit c8dbba6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/sur/quota.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,16 @@ function objectMPU(bucket, key, parts, partSize, callback) {
200200
};
201201
return s3Client.send(new UploadPartCommand(uploadPartParams))
202202
.then(data => {
203-
ETags[partNumber] = data.ETag;
204-
return callback();
203+
return callback(null, data.ETag);
205204
})
206205
.catch(callback);
207206
}, (err, results) => {
208207
if (err) {
209208
return callback(err);
210209
}
211-
ETags = results;
210+
ETags = results;
212211
return next();
213-
},next),
212+
}, next),
214213
next => {
215214
const params = {
216215
Bucket: bucket,

0 commit comments

Comments
 (0)