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

Fix wrong formating

parent 8d20b739
Branches
Tags
No related merge requests found
...@@ -211,7 +211,10 @@ func (m *Manager) readLoop(nbr *neighbor) { ...@@ -211,7 +211,10 @@ func (m *Manager) readLoop(nbr *neighbor) {
m.log.Warnw("read error", "err", err) 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 _ = nbr.conn.Close() // just make sure that the connection is closed as fast as possible
_ = m.DropNeighbor(nbr.peer.ID()) _ = m.DropNeighbor(nbr.peer.ID())
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment