Skip to content

Commit

Permalink
Add env var support for gather-for-telegraf
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg committed Dec 25, 2019
1 parent 9eb7854 commit 260693d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gather_telegraf.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (c *gatherTelegrafCmd) Usage() string {
}

func (c *gatherTelegrafCmd) SetFlags(flags *flag.FlagSet) {
filler := flagsfiller.New()
filler := flagsfiller.New(flagsfiller.WithEnv("Gather"))
err := filler.Fill(flags, c)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 260693d

Please sign in to comment.