declutter status' reconnects section
This commit is contained in:
1 parent
f6def13ea9
commit
f0998d6196
1 file changed
+2
-2
@@ -104,9 +104,9 @@ func (cm *ConnectionMaker) String() string {
|
|||||||
fmt.Fprintf(&buf, " (%s)", target.lastError)
|
fmt.Fprintf(&buf, " (%s)", target.lastError)
|
||||||
}
|
}
|
||||||
if target.attempting {
|
if target.attempting {
|
||||||
fmt.Fprintf(&buf, " (trying since %v)\n", target.tryAfter)
|
fmt.Fprintf(&buf, " trying since %v\n", target.tryAfter)
|
||||||
} else {
|
} else {
|
||||||
fmt.Fprintf(&buf, " (next try at %v)\n", target.tryAfter)
|
fmt.Fprintf(&buf, " next try at %v\n", target.tryAfter)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
resultChan <- buf.String()
|
resultChan <- buf.String()
|
||||||
|
|||||||
Reference in new issue
Block a user