Skip to content

Commit d095fe9

Browse files
CLDSRV-839: Fix REST.POST.MULTI_OBJECT_DELETE logs
1 parent 5033151 commit d095fe9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/utilities/serverAccessLogger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ const methodToResType = Object.freeze({
231231
'listMultipartUploads': 'UPLOADS',
232232
'listParts': 'UPLOAD',
233233
'metadataSearch': 'OBJECT',
234-
'multiObjectDelete': 'OBJECT',
234+
'multiObjectDelete': 'MULTI_OBJECT_DELETE',
235235
'multipartDelete': 'UPLOAD',
236236
'objectDelete': 'OBJECT',
237237
'objectDeleteTagging': 'TAGGING',

tests/functional/aws-node-sdk/test/serverAccessLogs/testServerAccessLogFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ describe('Server Access Logs - File Output', async () => {
17111711
},
17121712
{
17131713
...commonProperties,
1714-
operation: 'REST.POST.OBJECT',
1714+
operation: 'REST.POST.MULTI_OBJECT_DELETE',
17151715
action: 'DeleteObjects',
17161716
httpMethod: 'POST',
17171717
}

0 commit comments

Comments
 (0)