Skip to content

Commit 60b7aa4

Browse files
committed
🐛(CLDSRV-779) manage the raftSessionId case
1 parent 4ffcf13 commit 60b7aa4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/routes/routeBackbeat.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,8 @@ function batchDelete(request, response, userInfo, log, callback) {
12591259
}
12601260

12611261
return async.waterfall([
1262-
next => metadata.getBucket(bucket, log, next),
1262+
// eslint-disable-next-line no-unused-vars
1263+
next => metadata.getBucket(bucket, log, (err, bucket, _raftSessionId) => next(err, bucket)),
12631264
(bucketMD, next) => quotaUtils.validateQuotas(request, bucketMD, request.accountQuotas,
12641265
['objectDelete'], 'objectDelete', -contentLength, false, log, next),
12651266
], err => {

0 commit comments

Comments
 (0)