Remove 'inputs.' prefix when logging loaded inputs

This commit is contained in:
Greg Linton 2019-02-26 17:03:13 -07:00
parent ec746cc32a
commit 8d90609198
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ type AgentConfig struct {
func (c *Config) InputNames() []string {
var name []string
for _, input := range c.Inputs {
name = append(name, input.Name())
name = append(name, input.Config.Name)
}
return name
}