mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-25 01:44:43 +01: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 {
|
||||
return DatasetMapFilter{
|
||||
entries: make([]datasetMapFilterEntry, 0, capacity),
|
||||
entries: make([]datasetMapFilterEntry, 0, capacity),
|
||||
filterOnly: filterOnly,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user