From 01e166f14e148e8e66484e37eead157b87bb438e Mon Sep 17 00:00:00 2001 From: ricoberger Date: Mon, 24 Oct 2022 16:16:20 +0200 Subject: [PATCH] Fix typo in force underscores setting --- cmd/plugin/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/plugin/main.go b/cmd/plugin/main.go index 5f4560c..14c4c76 100644 --- a/cmd/plugin/main.go +++ b/cmd/plugin/main.go @@ -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))