Remove prefix from aggregators name

This commit is contained in:
Daniel Nelson
2019-02-26 18:22:12 -08:00
parent 8d90609198
commit 03f40b3588

View File

@@ -160,7 +160,7 @@ func (c *Config) InputNames() []string {
func (c *Config) AggregatorNames() []string {
var name []string
for _, aggregator := range c.Aggregators {
name = append(name, aggregator.Name())
name = append(name, aggregator.Config.Name)
}
return name
}