Clean up csv_trim_space after building parser config

This commit is contained in:
Daniel Nelson 2018-09-20 12:55:58 -07:00
parent dfe8e3b473
commit 1e3e28428d
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 0 deletions

View File

@ -1613,6 +1613,7 @@ func getParserConfig(name string, tbl *ast.Table) (*parsers.Config, error) {
delete(tbl.Fields, "csv_tag_columns") delete(tbl.Fields, "csv_tag_columns")
delete(tbl.Fields, "csv_timestamp_column") delete(tbl.Fields, "csv_timestamp_column")
delete(tbl.Fields, "csv_timestamp_format") delete(tbl.Fields, "csv_timestamp_format")
delete(tbl.Fields, "csv_trim_space")
return c, nil return c, nil
} }