Skip to content

Commit

Permalink
update comment per PR suggestion.
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jan 13, 2025
1 parent d8aac08 commit 84a5bd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,7 @@ func (a *Agent) startInputs(
return nil, fmt.Errorf("starting input %s: %w", input.LogName(), err)
}
if err := input.Probe(); err != nil {
// Probe failures are not fatal to Telegraf itself, so simply skip
// adding the input.
// Probe failures are none-fatal to the agent but should only remove the plugin
log.Printf("I! [agent] Failed to probe %s, shutting down plugin: %s", input.LogName(), err)
input.Stop()
continue
Expand Down

0 comments on commit 84a5bd9

Please sign in to comment.