Commit 802c36d5 authored by Rangel Reale's avatar Rangel Reale

* Remove redundant code

parent 05fe4b17
......@@ -92,7 +92,7 @@ func (srv *MetricReceiver) handleMessage(addr net.Addr, msg []byte) {
go srv.Handler.HandleMetric(metric)
}
if readerr != nil && readerr == io.EOF {
if readerr == io.EOF {
// if was EOF, finished handling
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment