We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17cec7c commit 95b0bd2Copy full SHA for 95b0bd2
exporter/diagnostic_data_collector.go
@@ -117,7 +117,7 @@ func (d *diagnosticDataCollector) collect(ch chan<- prometheus.Metric) {
117
debugResult(logger, m)
118
119
// MongoDB 8.0 splits the diagnostic data into multiple blocks, so we need to merge them
120
- if d.buildInfo.VersionArray[0] >= 8 {
+ if d.buildInfo.VersionArray[0] >= 8 { //nolint:gomnd
121
b := bson.M{}
122
for _, mv := range m {
123
block, ok := mv.(bson.M)
0 commit comments