From ef2c55141b86846ea96bb94424794cde242dff1d Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 11 May 2015 02:25:01 +0100 Subject: [PATCH] keep linter happy --- router/local_peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/local_peer.go b/router/local_peer.go index 13ff253a..c7218ea6 100644 --- a/router/local_peer.go +++ b/router/local_peer.go @@ -162,7 +162,7 @@ func (peer *LocalPeer) handleAddConnection(conn Connection) error { log.Fatal("Attempt made to add connection to peer with unknown remote peer") } toName := conn.Remote().Name - dupErr := fmt.Errorf("Multiple connections to %s added to %s", conn.Remote(), peer) + dupErr := fmt.Errorf("Multiple connections to %s added to %s", conn.Remote(), peer.String()) // deliberately non symmetrical if dupConn, found := peer.connections[toName]; found { if dupConn == conn {