From 60bb6a0acf29f455f45be208e2f130604f2f5066 Mon Sep 17 00:00:00 2001 From: Henry Hu Date: Wed, 3 Feb 2016 12:16:04 +0800 Subject: [PATCH] Fixed the unreachable code bug... --- internal/encoding/graphite/parser.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/encoding/graphite/parser.go b/internal/encoding/graphite/parser.go index 02611943b..23670e2e7 100644 --- a/internal/encoding/graphite/parser.go +++ b/internal/encoding/graphite/parser.go @@ -122,7 +122,6 @@ func (p *Parser) ParseMetrics(buf []byte) ([]telegraf.Metric, error) { } } - return metrics, nil } // Parse performs Graphite parsing of a single line.