From f6def13ea9009cfbf824222d0ed3684ab05d0379 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 15 Apr 2015 10:55:14 +0100 Subject: [PATCH] change style for connections in status' reconnects section to match how they are shown in the logs --- router/connection_maker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/connection_maker.go b/router/connection_maker.go index bcf0f962..2b77b5f2 100644 --- a/router/connection_maker.go +++ b/router/connection_maker.go @@ -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) }