mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Fix noisy log
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user