Skip to content

Commit bc355f8

Browse files
committed
additionnal fixups
1 parent ee9b293 commit bc355f8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/sur/quota.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ function objectMPU(bucket, key, parts, partSize, callback) {
201201
.catch(callback);
202202
}, (err, results) => {
203203
if (err) {
204-
return callback(err);
204+
return next(err);
205205
}
206206
ETags = results;
207207
return next();
208-
}, next),
208+
}),
209209
next => {
210210
const params = {
211211
Bucket: bucket,
@@ -498,8 +498,6 @@ function multiObjectDelete(bucket, keys, size, callback) {
498498
next => sendRequest(putQuotaVerb, '127.0.0.1:8000', `/${bucket}/?quota=true`,
499499
JSON.stringify(quota), config).then(() => next()).catch(err => next(err)),
500500
next => objectMPU(bucket, key, parts, partSize, (err, _uploadId) => {
501-
// eslint-disable-next-line no-console
502-
console.log('objectMPU', _uploadId);
503501
uploadId = _uploadId;
504502
try {
505503
assert.strictEqual(err.name, 'QuotaExceeded');

0 commit comments

Comments
 (0)