only send with online boxes
This commit is contained in:
parent
9594fd7970
commit
7c309b850b
2
app.go
2
app.go
@ -578,6 +578,7 @@ func (a AppConfig) SendSnapshots() (err error) {
|
||||
}
|
||||
|
||||
for _, src := range a.Sources {
|
||||
if cfg.Box[src.Box()].online {
|
||||
for _, dest := range a.Destinations {
|
||||
if cfg.Box[dest.Box()].online {
|
||||
if *debugFlag {
|
||||
@ -669,6 +670,7 @@ func (a AppConfig) SendSnapshots() (err error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
err = nil
|
||||
return
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "23d7d90"
|
||||
var buildstamp = "2022-06-17_14:07:22"
|
||||
var commits = "40"
|
||||
var version = "23d7d90-b40 - 2022-06-17_14:07:22"
|
||||
var githash = "9594fd7"
|
||||
var buildstamp = "2022-06-17_14:11:08"
|
||||
var commits = "41"
|
||||
var version = "9594fd7-b41 - 2022-06-17_14:11:08"
|
||||
|
Loading…
Reference in New Issue
Block a user