Fix noisy log

This commit is contained in:
Alex Dadgar
2018-05-10 15:45:57 -07:00
parent 9e761d4049
commit 37a4abdee4

View File

@@ -31,6 +31,9 @@ func (s *Server) getNodeConn(nodeID string) (*nodeConnState, bool) {
s.nodeConnsLock.RLock()
defer s.nodeConnsLock.RUnlock()
conns, ok := s.nodeConns[nodeID]
if !ok {
return nil, false
}
// Return the latest conn
var state *nodeConnState