mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-16 10:29:54 +01:00
impl: don't reference m.entries again
This commit is contained in:
parent
83d450b1f2
commit
b5d46e2ec3
@ -124,7 +124,7 @@ func (m DatasetMapFilter) Map(source *zfs.DatasetPath) (target *zfs.DatasetPath,
|
||||
err = fmt.Errorf("mapping target is not a dataset path: %s", err)
|
||||
return
|
||||
}
|
||||
if m.entries[mi].subtreeMatch {
|
||||
if me.subtreeMatch {
|
||||
// strip common prefix
|
||||
extendComps := source.Copy()
|
||||
if me.path.Empty() {
|
||||
|
Loading…
Reference in New Issue
Block a user