Skip to content

Commit 95b0bd2

Browse files
BupycHukademidoff
andauthored
Update exporter/diagnostic_data_collector.go
Co-authored-by: Alex Demidoff <[email protected]>
1 parent 17cec7c commit 95b0bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/diagnostic_data_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (d *diagnosticDataCollector) collect(ch chan<- prometheus.Metric) {
117117
debugResult(logger, m)
118118

119119
// MongoDB 8.0 splits the diagnostic data into multiple blocks, so we need to merge them
120-
if d.buildInfo.VersionArray[0] >= 8 {
120+
if d.buildInfo.VersionArray[0] >= 8 { //nolint:gomnd
121121
b := bson.M{}
122122
for _, mv := range m {
123123
block, ok := mv.(bson.M)

0 commit comments

Comments
 (0)