remove unused accumulator.prefix (#1535)

This commit is contained in:
Patrick Hemmer 2016-07-22 04:22:52 -04:00 committed by Cameron Sparr
parent 8acda0da8f
commit 1be6ea5696
1 changed files with 0 additions and 6 deletions

View File

@ -32,8 +32,6 @@ type accumulator struct {
inputConfig *internal_models.InputConfig
prefix string
precision time.Duration
}
@ -146,10 +144,6 @@ func (ac *accumulator) AddFields(
}
timestamp = timestamp.Round(ac.precision)
if ac.prefix != "" {
measurement = ac.prefix + measurement
}
m, err := telegraf.NewMetric(measurement, tags, result, timestamp)
if err != nil {
log.Printf("Error adding point [%s]: %s\n", measurement, err.Error())