We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb70e9b commit 0fdced9Copy full SHA for 0fdced9
utils/S3UtilsMongoClient.js
@@ -734,6 +734,8 @@ class S3UtilsMongoClient extends MongoClientInterface {
734
}
735
const accountLocation = dataMetrics.account[account].locations[location];
736
if (!accountLocation.usedCapacity) {
737
+ // the capacities are created inline to avoid runtime
738
+ // deep copy of the baseMetricsObject
739
accountLocation.usedCapacity = {
740
current: 0n,
741
nonCurrent: 0n,
0 commit comments