fix
This commit is contained in:
parent
cddb2223e9
commit
ed261141f5
2
app.go
2
app.go
@ -516,8 +516,10 @@ func (a AppConfig) RefreshSnapshot() error {
|
|||||||
refreshSnapshot[v.Box()] = struct{}{}
|
refreshSnapshot[v.Box()] = struct{}{}
|
||||||
}
|
}
|
||||||
for _, v := range a.Destinations {
|
for _, v := range a.Destinations {
|
||||||
|
if cfg.Box[v.Box()].online {
|
||||||
refreshSnapshot[v.Box()] = struct{}{}
|
refreshSnapshot[v.Box()] = struct{}{}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
for k, _ := range refreshSnapshot {
|
for k, _ := range refreshSnapshot {
|
||||||
if *debugFlag {
|
if *debugFlag {
|
||||||
log.Printf("AppConfig.RefreshSnapshot : %s : refreshing snapshots for source %s", a.Name, k)
|
log.Printf("AppConfig.RefreshSnapshot : %s : refreshing snapshots for source %s", a.Name, k)
|
||||||
|
@ -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 = "fd62711"
|
var githash = "cddb222"
|
||||||
var buildstamp = "2022-04-16_13:08:54"
|
var buildstamp = "2022-04-16_13:10:55"
|
||||||
var commits = "30"
|
var commits = "31"
|
||||||
var version = "fd62711-b30 - 2022-04-16_13:08:54"
|
var version = "cddb222-b31 - 2022-04-16_13:10:55"
|
||||||
|
Loading…
Reference in New Issue
Block a user