From aa8d20370bfee6a62c48a47fb914f10b0dd7d76f Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 30 Jun 2023 00:07:07 +0200 Subject: [PATCH] miscounted snapshots to add --- box.go | 2 +- version.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/box.go b/box.go index 743f48d..35bb7d2 100644 --- a/box.go +++ b/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()]}) } } diff --git a/version.go b/version.go index 6fbebf4..eec24af 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "f94f9b9" +var githash = "89ae6ea" var branch = "v2" -var buildstamp = "2023-06-29_21:46:39" -var commits = "60" -var version = "f94f9b9-b60 - 2023-06-29_21:46:39" +var buildstamp = "2023-06-29_22:06:42" +var commits = "61" +var version = "89ae6ea-b61 - 2023-06-29_22:06:42"