Remove 'inputs.' prefix when logging loaded inputs
This commit is contained in:
parent
ec746cc32a
commit
8d90609198
|
@ -151,7 +151,7 @@ type AgentConfig struct {
|
||||||
func (c *Config) InputNames() []string {
|
func (c *Config) InputNames() []string {
|
||||||
var name []string
|
var name []string
|
||||||
for _, input := range c.Inputs {
|
for _, input := range c.Inputs {
|
||||||
name = append(name, input.Name())
|
name = append(name, input.Config.Name)
|
||||||
}
|
}
|
||||||
return name
|
return name
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue