Skip to content

Commit e2c19fb

Browse files
committed
PMM-9870 fix collstats indexDetails metrics.
1 parent 9e7bf83 commit e2c19fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ func makeMetrics(prefix string, m bson.M, labels map[string]string, compatibleMo
301301
for k, val := range m {
302302
nextPrefix := prefix + k
303303

304-
var l = make(map[string]string)
304+
l := make(map[string]string)
305305
if label, ok := keyNodesToLabels[prefix]; ok {
306306
for k, v := range labels {
307307
l[k] = v

0 commit comments

Comments
 (0)