declutter status' reconnects section

This commit is contained in:
Matthias Radestock committed 2015-04-15 10:56:29 +01:00
1 parent f6def13ea9
commit f0998d6196
1 file changed
+2 -2
+2 -2
View File
@@ -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()