update debug
This commit is contained in:
parent
c93aa200b4
commit
d2e5b34b64
6
box.go
6
box.go
@ -81,10 +81,6 @@ func (b *Box) ZFSIsLastSnapshot(src Snapshot) (is bool, err error) {
|
|||||||
b.zfs.M.Lock()
|
b.zfs.M.Lock()
|
||||||
defer b.zfs.M.Unlock()
|
defer b.zfs.M.Unlock()
|
||||||
|
|
||||||
if *debugFlag {
|
|
||||||
log.Printf("SSHConfig.isLastSnapshot : %s : Start %s", b.Name, string(src))
|
|
||||||
}
|
|
||||||
|
|
||||||
_, err = b.ZFSGetNextSnapshot(src)
|
_, err = b.ZFSGetNextSnapshot(src)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err.Error() == "no snapshot" {
|
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) {
|
func (b *Box) ZFSGetFirstSnapshot(path string) (first Snapshot, err error) {
|
||||||
if *debugFlag {
|
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()
|
err = b.SnapshotInitialize()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||||
package main
|
package main
|
||||||
var githash = "d895b93"
|
var githash = "c93aa20"
|
||||||
var buildstamp = "2021-11-14_10:09:45"
|
var buildstamp = "2021-11-14_10:14:42"
|
||||||
var commits = "23"
|
var commits = "25"
|
||||||
var version = "d895b93-b23 - 2021-11-14_10:09:45"
|
var version = "c93aa20-b25 - 2021-11-14_10:14:42"
|
||||||
|
Loading…
Reference in New Issue
Block a user