Skip to content

Commit 81b5440

Browse files
Dan ShappirSimenB
Dan Shappir
andauthored
Update lib/histogram.js
Co-authored-by: Simen Bekkhus <[email protected]>
1 parent 2881fab commit 81b5440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/histogram.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ function extractBucketValuesForExport(histogram) {
290290
{ le: upperBound },
291291
acc,
292292
name,
293-
(bucketExemplars && bucketExemplars[upperBound]) || null,
293+
bucketExemplars?.[upperBound] ?? null,
294294
labels,
295295
);
296296
});

0 commit comments

Comments
 (0)