Skip to content

Commit 95ac7fd

Browse files
committed
fixup on func test
1 parent 6e4ef37 commit 95ac7fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/S3UtilsMongoClient.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,8 @@ class S3UtilsMongoClient extends MongoClientInterface {
804804
},
805805
}, {
806806
upsert: false,
807+
returnDocument: 'after',
808+
includeResultMetadata: true
807809
});
808810
if (!updateResult.ok) {
809811
log.error('updateBucketCapacityInfo: failed to update bucket CapacityInfo', {

0 commit comments

Comments
 (0)