This commit is contained in:
Matthias Radestock committed 2015-03-17 15:11:28 +00:00
1 parent 8f139bcb52
commit 08a08be370
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ func (routes *Routes) MarshalJSON() ([]byte, error) {
func (peer *Peer) MarshalJSON() ([]byte, error) {
conns := make([]Connection, 0)
peer.ForEachConnection(func(remoteName PeerName, conn Connection) {
peer.ForEachConnection(func(_ PeerName, conn Connection) {
conns = append(conns, conn)
})
return json.Marshal(struct {