Skip to content

Commit 352197c

Browse files
committed
Merge branch 'w/7.70/bugfix/CLDSRV-822/fix_multiobject_delete_metric_utapiv1_backport_7_10' into tmp/octopus/w/8.8/bugfix/CLDSRV-822/fix_multiobject_delete_metric_utapiv1_backport_7_10
2 parents ffb1e0f + 95592db commit 352197c

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
@@ -335,6 +335,11 @@ function pushMetric(action, log, metricObj) {
335335
oldByteLength,
336336
numberOfObjects,
337337
};
338+
339+
if (removedDeleteMarkers) {
340+
utapiObj.numberOfObjects = numberOfObjects + removedDeleteMarkers;
341+
}
342+
338343
// If `authInfo` is included by the API, get the account's canonical ID for
339344
// account-level metrics and the shortId for user-level metrics. Otherwise
340345
// check if the canonical ID is already provided for account-level metrics.

0 commit comments

Comments
 (0)