Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihonl committed Sep 28, 2023
1 parent 964cd0b commit f0ae37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stanza/operator/input/tcp/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ type BaseConfig struct {
Encoding string `mapstructure:"encoding,omitempty"`
Multiline tokenize.MultilineConfig `mapstructure:"multiline,omitempty"`
TrimConfig trim.Config `mapstructure:",squash"`
MultiLineBuilder MultiLineBuilderFunc `mapstructure:",omitempty"`
MultiLineBuilder MultiLineBuilderFunc `mapstructure:"omitempty"`
}

type MultiLineBuilderFunc func(enc encoding.Encoding) (bufio.SplitFunc, error)
Expand Down

0 comments on commit f0ae37c

Please sign in to comment.