v2 #2
2
app.go
2
app.go
@ -172,6 +172,7 @@ func (a *App) Cleanup(now time.Time) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _, dest := range a.destinations {
|
for _, dest := range a.destinations {
|
||||||
|
if cfg.box[dest.Box()].online {
|
||||||
dest = dest.Append("/" + src.Box() + "/" + src.Path())
|
dest = dest.Append("/" + src.Box() + "/" + src.Path())
|
||||||
for _, s := range cfg.box[dest.Box()].zfs.filesystems[dest.Path()].snapshots {
|
for _, s := range cfg.box[dest.Box()].zfs.filesystems[dest.Path()].snapshots {
|
||||||
if !s.Valid() {
|
if !s.Valid() {
|
||||||
@ -191,6 +192,7 @@ func (a *App) Cleanup(now time.Time) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -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 = "2afd699"
|
var githash = "1387868"
|
||||||
var branch = "v2"
|
var branch = "v2"
|
||||||
var buildstamp = "2023-07-31_08:29:23"
|
var buildstamp = "2023-07-31_08:33:33"
|
||||||
var commits = "68"
|
var commits = "69"
|
||||||
var version = "2afd699-b68 - 2023-07-31_08:29:23"
|
var version = "1387868-b69 - 2023-07-31_08:33:33"
|
||||||
|
Loading…
Reference in New Issue
Block a user