Remove 'inputs.' prefix when logging loaded inputs
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user