Skip to content
Snippets Groups Projects
Commit 4d4a76b0 authored by Wolfgang Welz's avatar Wolfgang Welz
Browse files

Fix wrong formating

parent 8d20b739
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,10 @@ func (m *Manager) readLoop(nbr *neighbor) {
m.log.Warnw("read error", "err", err)
}
m.log.Debug("connection closed", "id", nbr.peer.ID(), "addr", nbr.conn.RemoteAddr().String())
m.log.Debugw("connection closed",
"id", nbr.peer.ID(),
"addr", nbr.conn.RemoteAddr().String(),
)
_ = nbr.conn.Close() // just make sure that the connection is closed as fast as possible
_ = m.DropNeighbor(nbr.peer.ID())
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment