mirror of
https://github.com/zrepl/zrepl.git
synced 2025-06-20 09:47:50 +02: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)
|
err = fmt.Errorf("mapping target is not a dataset path: %s", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if m.entries[mi].subtreeMatch {
|
if me.subtreeMatch {
|
||||||
// strip common prefix
|
// strip common prefix
|
||||||
extendComps := source.Copy()
|
extendComps := source.Copy()
|
||||||
if me.path.Empty() {
|
if me.path.Empty() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user