miscounted snapshots to add
This commit is contained in:
2
box.go
2
box.go
@@ -196,7 +196,7 @@ func TransferZfs(from, to Addr) error {
|
||||
return err
|
||||
}
|
||||
|
||||
for _, v := range fromSnapshots[fromFromSnapshotId:] {
|
||||
for _, v := range fromSnapshots[fromFromSnapshotId+1:] {
|
||||
cfg.box[to.Box()].zfs.filesystems[to.Path()].AddSnapshot(&ZfsSnapshot{name: v.name, fs: cfg.box[to.Box()].zfs.filesystems[to.Path()]})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user