cosmetic
This commit is contained in:
1 parent
8f139bcb52
commit
08a08be370
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user