mirror of
https://github.com/zrepl/zrepl.git
synced 2025-07-06 17:30:20 +02:00
mapfilter: actually set filterOnly property
This commit is contained in:
@ -29,6 +29,7 @@ var NoMatchError error = errors.New("no match found in mapping")
|
|||||||
func NewDatasetMapFilter(capacity int, filterOnly bool) DatasetMapFilter {
|
func NewDatasetMapFilter(capacity int, filterOnly bool) DatasetMapFilter {
|
||||||
return DatasetMapFilter{
|
return DatasetMapFilter{
|
||||||
entries: make([]datasetMapFilterEntry, 0, capacity),
|
entries: make([]datasetMapFilterEntry, 0, capacity),
|
||||||
|
filterOnly: filterOnly,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user