From d2e5b34b64c51b567e124cd49658013a1ef16716 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 14 Nov 2021 18:14:57 +0800 Subject: [PATCH] update debug --- box.go | 6 +----- version.go | 8 ++++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/box.go b/box.go index 06dd5ef..77199fa 100644 --- a/box.go +++ b/box.go @@ -81,10 +81,6 @@ func (b *Box) ZFSIsLastSnapshot(src Snapshot) (is bool, err error) { b.zfs.M.Lock() defer b.zfs.M.Unlock() - if *debugFlag { - log.Printf("SSHConfig.isLastSnapshot : %s : Start %s", b.Name, string(src)) - } - _, err = b.ZFSGetNextSnapshot(src) if err != nil { if err.Error() == "no snapshot" { @@ -99,7 +95,7 @@ func (b *Box) ZFSIsLastSnapshot(src Snapshot) (is bool, err error) { func (b *Box) ZFSGetFirstSnapshot(path string) (first Snapshot, err error) { if *debugFlag { - log.Printf("SSHConfig.getFirstSnapshot : %s : Start %s", b.Name, path) + log.Printf("Box.ZFSGetFirstSnapshot : %s : Start %s", b.Name, path) } err = b.SnapshotInitialize() diff --git a/version.go b/version.go index 87390aa..19f40ef 100644 --- a/version.go +++ b/version.go @@ -1,6 +1,6 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "d895b93" -var buildstamp = "2021-11-14_10:09:45" -var commits = "23" -var version = "d895b93-b23 - 2021-11-14_10:09:45" +var githash = "c93aa20" +var buildstamp = "2021-11-14_10:14:42" +var commits = "25" +var version = "c93aa20-b25 - 2021-11-14_10:14:42"