mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
Merge pull request #1028 from sebastianmarkow/master
Remove unreachable error handling in AgentRPC.listen()
This commit is contained in:
commit
8ffa0ea8b7
@ -304,11 +304,6 @@ func (i *AgentRPC) listen() {
|
||||
}
|
||||
client.dec = codec.NewDecoder(client.reader, msgpackHandle)
|
||||
client.enc = codec.NewEncoder(client.writer, msgpackHandle)
|
||||
if err != nil {
|
||||
i.logger.Printf("[ERR] agent.rpc: Failed to create decoder: %v", err)
|
||||
conn.Close()
|
||||
continue
|
||||
}
|
||||
|
||||
// Register the client
|
||||
i.Lock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user