From f0ae37c2dcb6f8c12ee89a5a2ea65c86e751435b Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Thu, 28 Sep 2023 12:01:00 -0400 Subject: [PATCH] Fix unit test --- pkg/stanza/operator/input/tcp/tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/stanza/operator/input/tcp/tcp.go b/pkg/stanza/operator/input/tcp/tcp.go index f03c2aaea25a..bd2b921f09e0 100644 --- a/pkg/stanza/operator/input/tcp/tcp.go +++ b/pkg/stanza/operator/input/tcp/tcp.go @@ -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)