Fix bug that made tags array double size
@@ -78,7 +78,7 @@ func ParseMetricSSF(metric *ssf.SSFSample) (*UDPMetric, error) {
ret.Value = float64(metric.Value)
}
ret.SampleRate = metric.SampleRate
- tempTags := make([]string, len(metric.Tags))
+ tempTags := make([]string, 0)
for key, value := range metric.Tags {
if key == "veneurlocalonly" {
// delete the tag from the list
