From 2f7e54c29160f2ef78e84e4239994d0991a66101 Mon Sep 17 00:00:00 2001 From: juicer Date: Sun, 29 Oct 2023 01:21:32 -0700 Subject: [PATCH] fix fd in_http plugin keepalive_timeout option Signed-off-by: juicer --- apis/fluentd/v1alpha1/plugins/input/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/fluentd/v1alpha1/plugins/input/types.go b/apis/fluentd/v1alpha1/plugins/input/types.go index 4ce37dab9..610ef90ad 100644 --- a/apis/fluentd/v1alpha1/plugins/input/types.go +++ b/apis/fluentd/v1alpha1/plugins/input/types.go @@ -310,7 +310,7 @@ func (i *Input) httpPlugin(parent *params.PluginStore, loader plugins.SecretLoad } if httpModel.KeepLiveTimeout != nil { - parent.InsertPairs("keepLive_timeout", fmt.Sprint(*httpModel.KeepLiveTimeout)) + parent.InsertPairs("keepalive_timeout", fmt.Sprint(*httpModel.KeepLiveTimeout)) } if httpModel.AddHttpHeaders != nil {