File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ host.docker.internal:2242/metrics
1010## MongoLink CLI
1111
1212``` shell
13- go install . && pml --source=" mongodb://rs00:30000" --target=" mongodb://rs10:30100" --reset-state --log-level=" debug"
13+ go install . && pcsm --source=" mongodb://rs00:30000" --target=" mongodb://rs10:30100" --reset-state --log-level=" debug"
1414```
1515
1616
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ func MakeFilter(include, exclude []string) NSFilter {
2121 return AllowAllFilter
2222 }
2323
24- includeFilter := doMakeFitler (include )
25- excludeFilter := doMakeFitler (exclude )
24+ includeFilter := doMakeFilter (include )
25+ excludeFilter := doMakeFilter (exclude )
2626
2727 lg .Infof ("Include filter: %v" , strings .Join (include , ", " ))
2828 lg .Infof ("Exclude filter: %v" , strings .Join (exclude , ", " ))
@@ -74,7 +74,7 @@ func (f filterMap) Has(db, coll string) bool {
7474 return slices .Contains (list , coll ) // only if explcitly listed
7575}
7676
77- func doMakeFitler (filter []string ) filterMap {
77+ func doMakeFilter (filter []string ) filterMap {
7878 // keys are database names. values are list collections that belong to the db.
7979 // if a key contains empty/nil, whole db is included (all its collections).
8080 filterMap := make (map [string ][]string )
You can’t perform that action at this time.
0 commit comments