Skip to content

Commit

Permalink
Fix typo in force underscores setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ricoberger committed Oct 24, 2022
1 parent 181a637 commit 01e166f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/plugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func FLBPluginInit(plugin unsafe.Pointer) int {
forceNumberFieldsStr := output.FLBPluginConfigKey(plugin, "force_number_fields")
forceNumberFields = strings.Split(forceNumberFieldsStr, ",")

forceUnderscoresStr := output.FLBPluginConfigKey(plugin, "force_underscore")
forceUnderscoresStr := output.FLBPluginConfigKey(plugin, "force_underscores")
forceUnderscores, err = strconv.ParseBool(forceUnderscoresStr)
if err != nil {
log.Warn(nil, "Could not parse forceUnderscores setting, use default setting", zap.Error(err), zap.Bool("default", defaultForceUnderscores))
Expand Down

0 comments on commit 01e166f

Please sign in to comment.