diff --git a/exporter/exporter.go b/exporter/exporter.go index b7c7bce2..673052cd 100644 --- a/exporter/exporter.go +++ b/exporter/exporter.go @@ -153,7 +153,6 @@ func (e *Exporter) makeRegistry(ctx context.Context, client *mongo.Client, topol e.getTotalCollectionsCount() <= e.opts.CollStatsLimit { limitsOk = true } - limitsOk = true if e.opts.CollectAll { if len(e.opts.CollStatsNamespaces) == 0 {