Skip to content

Commit

Permalink
fix autoTypeCast & renewRecord
Browse files Browse the repository at this point in the history
Signed-off-by: juicer <[email protected]>
  • Loading branch information
cw-Guo committed Oct 22, 2023
1 parent c62d73a commit cf3b539
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apis/fluentd/v1alpha1/plugins/filter/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ func (f *Filter) recordTransformerPlugin(parent *params.PluginStore, loader plug
parent.InsertPairs("enable_ruby", fmt.Sprint(*f.RecordTransformer.EnableRuby))
}
if f.RecordTransformer.AutoTypeCast != nil {
parent.InsertPairs("renew_record", fmt.Sprint(*f.RecordTransformer.AutoTypeCast))
parent.InsertPairs("auto_typecast", fmt.Sprint(*f.RecordTransformer.AutoTypeCast))
}
if f.RecordTransformer.RenewRecord != nil {
parent.InsertPairs("renew_record", fmt.Sprint(*f.RecordTransformer.RenewRecord))
}
if f.RecordTransformer.RenewTimeKey != nil {
parent.InsertPairs("renew_time_key", fmt.Sprint(*f.RecordTransformer.RenewTimeKey))
Expand Down

0 comments on commit cf3b539

Please sign in to comment.