Commit bc548548 authored by Kamil Kisiel's avatar Kamil Kisiel

Removed dead code

parent 0bdf9dd0
...@@ -373,17 +373,6 @@ func parseMessage(msg string) ([]Metric, error) { ...@@ -373,17 +373,6 @@ func parseMessage(msg string) ([]Metric, error) {
return metricList, nil return metricList, nil
} }
func handleMessage(metricChan chan Metric, msg string) {
metrics, err := parseMessage(msg)
if err != nil {
log.Printf("Error parsing metric %s", err)
} else {
for _, metric := range metrics {
metricChan <- metric
}
}
}
func consoleClient(conn net.Conn, consoleChan chan ConsoleRequest) { func consoleClient(conn net.Conn, consoleChan chan ConsoleRequest) {
defer conn.Close() defer conn.Close()
......
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