This commit is contained in:
shoopea 2022-04-16 21:11:05 +08:00
parent cddb2223e9
commit ed261141f5
2 changed files with 7 additions and 5 deletions

2
app.go
View File

@ -516,8 +516,10 @@ func (a AppConfig) RefreshSnapshot() error {
refreshSnapshot[v.Box()] = struct{}{}
}
for _, v := range a.Destinations {
if cfg.Box[v.Box()].online {
refreshSnapshot[v.Box()] = struct{}{}
}
}
for k, _ := range refreshSnapshot {
if *debugFlag {
log.Printf("AppConfig.RefreshSnapshot : %s : refreshing snapshots for source %s", a.Name, k)

View File

@ -1,6 +1,6 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "fd62711"
var buildstamp = "2022-04-16_13:08:54"
var commits = "30"
var version = "fd62711-b30 - 2022-04-16_13:08:54"
var githash = "cddb222"
var buildstamp = "2022-04-16_13:10:55"
var commits = "31"
var version = "cddb222-b31 - 2022-04-16_13:10:55"