From 03f40b35884e957665bcc07eeeb0eea6ac2e2d38 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Tue, 26 Feb 2019 18:22:12 -0800 Subject: [PATCH] Remove prefix from aggregators name --- internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 557fdd5fa..28d683cc5 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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 }