mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-28 19:34:58 +01:00
mapfilter: actually set filterOnly property
This commit is contained in:
parent
8f03e97d47
commit
287e0620ba
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user