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) { ...@@ -92,7 +92,7 @@ func (srv *MetricReceiver) handleMessage(addr net.Addr, msg []byte) {
go srv.Handler.HandleMetric(metric) go srv.Handler.HandleMetric(metric)
} }
if readerr != nil && readerr == io.EOF { if readerr == io.EOF {
// if was EOF, finished handling // if was EOF, finished handling
return 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