From 1e3e28428d8c9cf00a6350fd381d938b2f90373c Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 20 Sep 2018 12:55:58 -0700 Subject: [PATCH] Clean up csv_trim_space after building parser config --- internal/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/config/config.go b/internal/config/config.go index cd4d9825c..d62536cf9 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1613,6 +1613,7 @@ func getParserConfig(name string, tbl *ast.Table) (*parsers.Config, error) { delete(tbl.Fields, "csv_tag_columns") delete(tbl.Fields, "csv_timestamp_column") delete(tbl.Fields, "csv_timestamp_format") + delete(tbl.Fields, "csv_trim_space") return c, nil }