consul: Remove unreachable error handling

This commit is contained in:
Sebastian Klatt 2015-06-12 20:21:32 +02:00
parent a4c2fa5a13
commit 34611c8599
No known key found for this signature in database
GPG Key ID: DA1CAEE2EF08BEA6
1 changed files with 0 additions and 5 deletions

View File

@ -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()