disable link to offline clients
This commit is contained in:
parent
c7c7ff6f93
commit
8549f2fd32
|
@ -33,7 +33,9 @@ func (t *Tester) Output() *Output {
|
||||||
|
|
||||||
for from, status := range t.Status {
|
for from, status := range t.Status {
|
||||||
output.Status = append(output.Status, status)
|
output.Status = append(output.Status, status)
|
||||||
|
if !status.Login {
|
||||||
|
continue
|
||||||
|
}
|
||||||
for to, linkOK := range status.Connections {
|
for to, linkOK := range status.Connections {
|
||||||
var key string
|
var key string
|
||||||
// keep source and target in the same order
|
// keep source and target in the same order
|
||||||
|
|
Reference in New Issue