Skip to content

Commit 16a3f51

Browse files
authored
Update common.go
1 parent 8d0288a commit 16a3f51

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

exporter/common.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ func listAllCollections(ctx context.Context, client *mongo.Client, filterInNames
167167
filterNS = append(filterNS, dbs...)
168168
}
169169

170-
for _, db := range dbs {
171-
for _, namespace := range filterNS {
172-
parts := strings.Split(namespace, ".")
173-
dbname := strings.TrimSpace(parts[0])
174-
175170

176171
for _, db := range dbs {
177172
for _, namespace := range filterNS {

0 commit comments

Comments
 (0)