change style for connections in status' reconnects section

to match how they are shown in the logs
This commit is contained in:
Matthias Radestock committed 2015-04-15 10:55:14 +01:00
1 parent b1fd1334b4
commit f6def13ea9
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@ func (cm *ConnectionMaker) String() string {
cm.actionChan <- func() bool {
var buf bytes.Buffer
for address, target := range cm.targets {
fmt.Fprint(&buf, address)
fmt.Fprintf(&buf, "->[%s]", address)
if target.lastError != nil {
fmt.Fprintf(&buf, " (%s)", target.lastError)
}