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