Skip to content

Commit

Permalink
Fix Scoping of PluginType
Browse files Browse the repository at this point in the history
  • Loading branch information
rawkode committed May 29, 2019
1 parent e881cc5 commit fd104ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen.go
Expand Up @@ -66,7 +66,7 @@ package all
import (
{{- range .Plugins }}
_ "github.com/influxdata/telegraf/plugins/{{ .PluginType }}/{{ .Config.Name }}"
_ "github.com/influxdata/telegraf/plugins/{{ $.PluginType }}/{{ .Config.Name }}"
{{- end }}
)
`))

0 comments on commit fd104ea

Please sign in to comment.