mapfilter: actually set filterOnly property

This commit is contained in:
Christian Schwarz 2017-09-02 12:22:34 +02:00
parent 8f03e97d47
commit 287e0620ba

View File

@ -29,6 +29,7 @@ var NoMatchError error = errors.New("no match found in mapping")
func NewDatasetMapFilter(capacity int, filterOnly bool) DatasetMapFilter {
return DatasetMapFilter{
entries: make([]datasetMapFilterEntry, 0, capacity),
filterOnly: filterOnly,
}
}