Skip to content

Commit f5b0c15

Browse files
authored
Update exporter/exporter.go
1 parent ec5c37a commit f5b0c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func (e *Exporter) makeRegistry(ctx context.Context, client *mongo.Client, topol
246246
rsgsc := newReplicationSetConfigCollector(ctx, client, e.opts.Logger,
247247
e.opts.CompatibleMode, topologyInfo)
248248
registry.MustRegister(rsgsc)
249-
}
249+
}
250250
if e.opts.EnableShards && nodeType == typeMongos && requestOpts.EnableShards {
251251
sc := newShardsCollector(ctx, client, e.opts.Logger, e.opts.CompatibleMode)
252252
registry.MustRegister(sc)

0 commit comments

Comments
 (0)