change style for connections in status' reconnects section
to match how they are shown in the logs
This commit is contained in:
1 parent
b1fd1334b4
commit
f6def13ea9
1 file changed
+1
-1
@@ -99,7 +99,7 @@ func (cm *ConnectionMaker) String() string {
|
|||||||
cm.actionChan <- func() bool {
|
cm.actionChan <- func() bool {
|
||||||
var buf bytes.Buffer
|
var buf bytes.Buffer
|
||||||
for address, target := range cm.targets {
|
for address, target := range cm.targets {
|
||||||
fmt.Fprint(&buf, address)
|
fmt.Fprintf(&buf, "->[%s]", address)
|
||||||
if target.lastError != nil {
|
if target.lastError != nil {
|
||||||
fmt.Fprintf(&buf, " (%s)", target.lastError)
|
fmt.Fprintf(&buf, " (%s)", target.lastError)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user