v2 #2

Merged
shoopea merged 29 commits from v2 into master 2023-08-21 20:03:11 +02:00
2 changed files with 8 additions and 5 deletions
Showing only changes of commit 138786855f - Show all commits

View File

@ -215,8 +215,11 @@ func (c *Config) Cleanup(e *Email) {
} }
for _, dest := range a.destinations { for _, dest := range a.destinations {
if b, ok := c.box[src.Box()]; ok { if b, ok := c.box[src.Box()]; ok {
if fs, ok := b.zfs.filesystems[dest.Append("/"+src.Box()+"/"+src.Path()).Path()]; ok { d := dest.Append("/" + src.Box() + "/" + src.Path())
if fs, ok := b.zfs.filesystems[d.Path()]; ok {
fs.destApps = append(fs.destApps, a) fs.destApps = append(fs.destApps, a)
} else {
e.AddItem(fmt.Sprintf(" - Dest : No folder (%s)", d.String()))
} }
} }
} }

View File

@ -1,7 +1,7 @@
// Code generated by version.sh (@generated) DO NOT EDIT. // Code generated by version.sh (@generated) DO NOT EDIT.
package main package main
var githash = "b4d27e0" var githash = "2afd699"
var branch = "v2" var branch = "v2"
var buildstamp = "2023-07-31_08:20:10" var buildstamp = "2023-07-31_08:29:23"
var commits = "67" var commits = "68"
var version = "b4d27e0-b67 - 2023-07-31_08:20:10" var version = "2afd699-b68 - 2023-07-31_08:29:23"