Skip to content

Commit 95592db

Browse files
committed
Merge remote-tracking branch 'origin/bugfix/CLDSRV-822/fix_multiobject_delete_metric_utapiv1_backport_7_10' into w/7.70/bugfix/CLDSRV-822/fix_multiobject_delete_metric_utapiv1_backport_7_10
2 parents 95a57b3 + 11ce8cb commit 95592db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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)