Skip to content

Commit 2c7aaa3

Browse files
committed
bf(CLDSRV-822): Add removedDeleteMarkers when set to numberOfObjects for utapiv1
(cherry picked from commit e7346cd)
1 parent afe844d commit 2c7aaa3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/utapi/utilities.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,11 @@ function pushMetric(action, log, metricObj) {
331331
oldByteLength,
332332
numberOfObjects,
333333
};
334+
335+
if (removedDeleteMarkers) {
336+
utapiObj.numberOfObjects = numberOfObjects + removedDeleteMarkers;
337+
}
338+
334339
// If `authInfo` is included by the API, get the account's canonical ID for
335340
// account-level metrics and the shortId for user-level metrics. Otherwise
336341
// check if the canonical ID is already provided for account-level metrics.

0 commit comments

Comments
 (0)